Skip to content

Commit

Permalink
Remove clean task to resolve CommunityToolkit/Windows#457 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Aug 23, 2024
1 parent 4f3d83c commit df780af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build-Toolkit-Components.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,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
Expand Down

0 comments on commit df780af

Please sign in to comment.