Support nuget pack targets in static graph with isolation #6197
Labels
Area: Static Graph
Issues with -graph, -isolate, and the related APIs.
needs-design
Requires discussion with the dev team before attempting a fix.
triaged
Milestone
Building a graph containing packable (which triggers the nuget pack targets to run) projects that are not terminal leaves triggers the isolation constraints.
The pack logic is run on the outer build nodes. The nuget pack targets use the MSBuild task to call into various nodes not predicted by the static graph, and thus fails isolation constraints:
Pack -> GenerateNuspec -> _GetProjectReferenceVersions
).Pack -> GenerateNuspec -> _WalkEachTargetPerFramework
).We need to enhance the static graph declaration expressivity (probably the ProjectReferenceTargets protocol) to allow the nuget team to express the funky calling patterns that nuget pack is doing, such that static graph can predict and create nodes that capture those calls.
Generalizing what pack is doing:
The text was updated successfully, but these errors were encountered: