Skip to content

Commit df780af

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

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
@@ -131,13 +131,13 @@ function Invoke-MSBuildWithBinlog {
131131
# Ensure output is relative to $pwd, not to the csproj of each component.
132132
$NupkgOutput = (Resolve-Path $NupkgOutput).Path
133133

134-
$msbuildArgs += "-t:Clean,Build,Pack"
134+
$msbuildArgs += "-t:Build,Pack"
135135
$msbuildArgs += "/p:PackageOutputPath=$NupkgOutput"
136136
$msbuildArgs += "/p:DateForVersion=$DateForVersion"
137137
$msbuildArgs += "/p:PreviewVersion=$PreviewVersion"
138138
}
139139
else {
140-
$msbuildArgs += "-t:Clean,Build"
140+
$msbuildArgs += "-t:Build"
141141
}
142142

143143
# Add additional properties to the msbuild arguments

0 commit comments

Comments
 (0)