Multi-project restore should be resiliant to one project throwing an unhandled exception #13188
Labels
Category:Quality Week
Issues that should be considered for quality week
Functionality:Restore
Priority:2
Issues for the current backlog.
Type:Bug
See also #13085 (comment) and NuGet/NuGet.Client#5608 (review)
If a solution has multiple projects, and RestoreCommand throws an unhandled exception while restoring one project, there should be some kind of graceful error handling, and allow all other projects to restore.
In VS, since restore is triggered every build, this means a restore error could occur very frequently as customers try different things to fix their build. The VS activity log only retains a fixed number of errors, so we should not spam the activity log with the same error over and over. This might mean not reporting these unhandled restore exceptions in the activity log, and recording them another way for us to investigate.
The text was updated successfully, but these errors were encountered: