Skip to content

Commit 456673a

Browse files
committed
Remove clean task to resolve CommunityToolkit/Windows#457 (comment)
1 parent 4dbd18a commit 456673a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Build-Toolkit-Components.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ function Invoke-MSBuildWithBinlog {
136136
# Ensure output is relative to $pwd, not to the csproj of each component.
137137
$NupkgOutput = (Resolve-Path $NupkgOutput).Path
138138

139-
$msbuildArgs += "-t:Clean,Build,Pack"
139+
$msbuildArgs += "-t:Build,Pack"
140140
$msbuildArgs += "/p:PackageOutputPath=$NupkgOutput"
141141
$msbuildArgs += "/p:DateForVersion=$DateForVersion"
142142
$msbuildArgs += "/p:PreviewVersion=$PreviewVersion"
143143
}
144144
else {
145-
$msbuildArgs += "-t:Clean,Build"
145+
$msbuildArgs += "-t:Build"
146146
}
147147

148148
# Add additional properties to the msbuild arguments

0 commit comments

Comments
 (0)