Skip to content

Commit

Permalink
Remove cleaning from publish
Browse files Browse the repository at this point in the history
  • Loading branch information
eerhardt committed Nov 12, 2024
1 parent 7d554db commit 9c675f1
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

<Target Name="PublishProject">
<!-- Always clean before publishing so we get warnings/errors every time. -->
<Exec Command="$(DOTNET_HOST_PATH) clean -c Release"
WorkingDirectory="$(MSBuildProjectDirectory)" />

<Exec Command="$(DOTNET_HOST_PATH) publish -c Release"
<Exec Command="$(DOTNET_HOST_PATH) publish"
WorkingDirectory="$(MSBuildProjectDirectory)" />
</Target>

Expand Down

0 comments on commit 9c675f1

Please sign in to comment.