-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ctrl+c is not respected when --framework is passed to 'dotnet build' #11680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note that this behavior can occur using both ordinary |
@RikkiGibson I am just bad at reading and didn't realize this was against the MSBuild repo - I've deleted my tag as a result! |
Other notes:
|
This also reproes when /tl:off, the issue is related with --framework. @rainersigwald should we fix this issue in the dotnet. since the args are from dotnet. When --framework, the msbuild args are with /target:Restore. so, it will restore only at first Line 1577 in f5b4822
Lines 1188 to 1193 in f5b4822
Generate the binlog folders with --framework and without --framework |
Issue Description
ctrl+c normally cancels the build, but it doesn't do that when
--framework <target-framework>
is passed to the CLI. You have to just sit there until the build finishes.Steps to Reproduce
dotnet/sdk
repo, ordotnet/roslyn
.dotnet build ./test/dotnet.Tests/ --framework net10.0
indotnet/sdk
dotnet build ./src/Compilers/CSharp/Portable --framework net9.0 -t:rebuild
indotnet/roslyn
.Expected Behavior
Build is cancelled.
Actual Behavior
Build does not cancel, you either have to terminate the terminal process and its children, or sit there and wait.
Analysis
No response
Versions & Configurations
In Roslyn I am using dotnet 9.0.104
In SDK I am using dotnet 10.0.100-preview.3.25125.5
The text was updated successfully, but these errors were encountered: