File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ int Run(string[] args)
7272 }
7373
7474 // Built-in args we always pass to MSBuild
75- extra . AddRange ( new [ ]
76- {
75+ extra . AddRange (
76+ [
7777 // Avoids contention when writing to the dotnet-nugetize MSBuild items file
7878 "-m:1" ,
7979 // Enable retrieving source link info if supported by the project
@@ -83,14 +83,16 @@ int Run(string[] args)
8383 "-p:EmitNuspec=true" ,
8484 // Never emit the actual pkg since that would be the same as just running dotnet pack
8585 "-p:EmitPackage=false" ,
86+ // Never cleanup previously built packages
87+ "-p:EnablePackCleanup=false" ,
8688 // Avoid SDK trying to validate the output package since we don't emit it
8789 "-p:EnablePackageValidation=false" ,
8890 // DTB arguments that speed-up the execution
8991 "-p:SkipCompilerExecution=true" ,
9092 "-p:DesignTimeBuild=true" ,
9193 "-p:DesignTimeSilentResolution=true" ,
9294 "-p:ResolveAssemblyReferencesSilent=true"
93- } ) ;
95+ ] ) ;
9496
9597 if ( help )
9698 {
You can’t perform that action at this time.
0 commit comments