diff --git a/Build-Toolkit-Components.ps1 b/Build-Toolkit-Components.ps1 index d797d5d..c703967 100644 --- a/Build-Toolkit-Components.ps1 +++ b/Build-Toolkit-Components.ps1 @@ -136,13 +136,13 @@ function Invoke-MSBuildWithBinlog { # Ensure output is relative to $pwd, not to the csproj of each component. $NupkgOutput = (Resolve-Path $NupkgOutput).Path - $msbuildArgs += "-t:Clean,Build,Pack" + $msbuildArgs += "-t:Build,Pack" $msbuildArgs += "/p:PackageOutputPath=$NupkgOutput" $msbuildArgs += "/p:DateForVersion=$DateForVersion" $msbuildArgs += "/p:PreviewVersion=$PreviewVersion" } else { - $msbuildArgs += "-t:Clean,Build" + $msbuildArgs += "-t:Build" } # Add additional properties to the msbuild arguments