Skip to content

Project with PackAsTool and GeneratePackageOnBuild set to true fails to build #3253

@dsplaisted

Description

@dsplaisted

Tests in GivenThatWeWantToPackAToolProjectWithGeneratePackageOnBuild are failing with:

C:\git\dotnet-sdk\artifacts\bin\Debug\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(337,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "_WalkEachTargetPerFramework". [C:\git\dotnet-sdk\artifacts\tmp\Debug\It_builds_suc---81F3C59C\App\consoledemo.csproj]

This regressed with a recent NuGet insertion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions