Static graph-based restore should always log an error on failure #12372
Labels
Area:RestoreStaticGraph
Issues related to the Static Graph restore
Priority:2
Issues for the current backlog.
Type:DCR
Design Change Request
Milestone
NuGet Product(s) Affected
MSBuild.exe, dotnet.exe
Current Behavior
When static graph-based restore runs, the restore is run in a different process. The logic in this process has a few spots where something can go wrong and the EXE will not log an error. In rare cases, no error is logged and restore appears to succeed.
Desired Behavior
All places in the EXE's code where something can go wrong should log an error and the RestoreTaskEx should consider looking at the exit code in case its non-zero instead of only determining success/failure based on if any errors were logged.
Additional Context
No response
The text was updated successfully, but these errors were encountered: