[Bug]: Canceling msbuild restore is slow when invalid/unreachable source configured #11813
Labels
Functionality:Restore
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:dotnet.exe
Type:Bug
Milestone
NuGet Product Used
MSBuild.exe
Product Version
msbuild 17.2
Worked before?
No response
Impact
It bothers me. A fix would be nice
Repro Steps & Context
dotnet nuget add source https://invalid.nuget.org/v1234/index.json -n invalidSource
msbuild -t:restore -v:m
By comparison, if you press ctrl-c quickly after the "Determining projects to restore" message is displayed, the command line returns immeidately. Similarly, when using
-p:RestoreUseStaticGraphEvaluation=true
, ctrl-c also exits immediately.Verbose Logs
No response
The text was updated successfully, but these errors were encountered: