diff --git a/src/dotnet-nugetize/Program.cs b/src/dotnet-nugetize/Program.cs index b9e1365a..bdbd40ad 100644 --- a/src/dotnet-nugetize/Program.cs +++ b/src/dotnet-nugetize/Program.cs @@ -83,6 +83,8 @@ int Run(string[] args) "-p:EmitNuspec=true", // Never emit the actual pkg since that would be the same as just running dotnet pack "-p:EmitPackage=false", + // Avoid SDK trying to validate the output package since we don't emit it + "-p:EnablePackageValidation=false", // DTB arguments that speed-up the execution "-p:SkipCompilerExecution=true", "-p:DesignTimeBuild=true",