You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: