Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet pack fails with SymbolPackageFormat property #42

Closed
perkops opened this issue Jan 26, 2021 · 1 comment
Closed

dotnet pack fails with SymbolPackageFormat property #42

perkops opened this issue Jan 26, 2021 · 1 comment
Assignees
Labels
bug Something isn't working needs investigation

Comments

@perkops
Copy link
Member

perkops commented Jan 26, 2021

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

@perkops
Copy link
Member Author

perkops commented Feb 5, 2021

Fixed in new setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation
Projects
None yet
Development

No branches or pull requests

4 participants