Skip to content

dotnet pack fails with SymbolPackageFormat property #42

@perkops

Description

@perkops

If we include the following property <SymbolPackageFormat>snupkg</SymbolPackageFormat> , the dotnet pack fails with the following error:

C:\Program Files\dotnet\sdk\5.0.102\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(207,5): error NU5017: Cannot create a package that has no dependencies nor content. [C:\Code\atc-net\atc-coding-rules-updater\src\Atc.CodingRules.Updater.CLI\Atc.CodingRules.Updater.CLI.csproj]

This seems to work in a class library, but apparently not in a CLI tool.

Reference issue

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions