Skip to content

[DCR]: Static graph-based restore should handle an AggregateException from MSBuild #12100

@jeffkl

Description

@jeffkl

NuGet Product(s) Affected

MSBuild.exe

Current Behavior

After a behavior change in MSBuild done here, static graph now throws an AggregateException instead of an InvalidProjectFileException. This leads to a very useless error message since the inner exception messages aren't logged.

Desired Behavior

NuGet needs to catch the AggregateException and handle each inner exception accordingly so that the user knows what's going on.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Area:RestoreStaticGraphIssues related to the Static Graph restoreFunctionality:RestorePriority:1High priority issues that must be resolved in the current sprint.Type:DCRDesign Change Request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions