Cake: Add Support for New snupkg Symbol Packages

Created on 19 Nov 2018  路  1Comment  路  Source: cake-build/cake

NuGet added support for the new snupkg symbol package format. There is a new parameter for the dotnet, nuget and msbuild CLI tools:

using dotnet
> dotnet pack MyAwesomeLib.csproj --include-symbols -p:SymbolPackageFormat=snupkg

using nuget
> nuget pack MyAwesomeLib.nuspec -Symbols -SymbolPackageFormat snupkg

using msbuild
> msbuild /t:pack MyAwesomeLib.csproj /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg
Feature

Most helpful comment

@RehanSaeed we've just updated Cake itself to use SDK 2.1.500, MSBuild 15.9 and NuGet 4.9.0 (still RC), so infrastructure should be in place to support it.

Are you're willing to take a stab at a PR adding this?

Meanwhile people can already today do this woth a workaround using ArgumentCustomization on DotNetCorePackSettings, MSBuildSettings and NuGetPackSettings.

>All comments

@RehanSaeed we've just updated Cake itself to use SDK 2.1.500, MSBuild 15.9 and NuGet 4.9.0 (still RC), so infrastructure should be in place to support it.

Are you're willing to take a stab at a PR adding this?

Meanwhile people can already today do this woth a workaround using ArgumentCustomization on DotNetCorePackSettings, MSBuildSettings and NuGetPackSettings.

Was this page helpful?
0 / 5 - 0 ratings