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 19, 2024
1 parent 4dbd18a commit 456673a
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 @@ -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
Expand Down

0 comments on commit 456673a

Please sign in to comment.