diff --git a/Build/Tasks/CreateNugetPackages.cs b/Build/Tasks/CreateNugetPackages.cs index 21baad83432..336a91f7753 100644 --- a/Build/Tasks/CreateNugetPackages.cs +++ b/Build/Tasks/CreateNugetPackages.cs @@ -11,8 +11,8 @@ namespace DotNetNuke.Build.Tasks using Cake.Common.IO; using Cake.Common.Tools.NuGet; using Cake.Common.Tools.NuGet.Pack; + using Cake.Core; using Cake.Frosting; - using DotNetNuke.Build; /// A cake task to create the platform's NuGet packages. @@ -35,6 +35,7 @@ public override void Run(Context context) IncludeReferencedProjects = true, Symbols = true, Properties = new Dictionary { { "Configuration", "Release" } }, + ArgumentCustomization = args => args.Append("-SymbolPackageFormat snupkg"), }; // loop through each nuspec file and create the package