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)
72
72
}
73
73
74
74
// Built-in args we always pass to MSBuild
75
- extra . AddRange ( new [ ]
76
- {
75
+ extra . AddRange (
76
+ [
77
77
// Avoids contention when writing to the dotnet-nugetize MSBuild items file
78
78
"-m:1" ,
79
79
// Enable retrieving source link info if supported by the project
@@ -83,14 +83,16 @@ int Run(string[] args)
83
83
"-p:EmitNuspec=true" ,
84
84
// Never emit the actual pkg since that would be the same as just running dotnet pack
85
85
"-p:EmitPackage=false" ,
86
+ // Never cleanup previously built packages
87
+ "-p:EnablePackCleanup=false" ,
86
88
// Avoid SDK trying to validate the output package since we don't emit it
87
89
"-p:EnablePackageValidation=false" ,
88
90
// DTB arguments that speed-up the execution
89
91
"-p:SkipCompilerExecution=true" ,
90
92
"-p:DesignTimeBuild=true" ,
91
93
"-p:DesignTimeSilentResolution=true" ,
92
94
"-p:ResolveAssemblyReferencesSilent=true"
93
- } ) ;
95
+ ] ) ;
94
96
95
97
if ( help )
96
98
{
You can’t perform that action at this time.
0 commit comments