Skip to content

Commit 9c675f1

Browse files
committed
Remove cleaning from publish
1 parent 7d554db commit 9c675f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/Libraries/Microsoft.Extensions.AotCompatibility.TestApp/Microsoft.Extensions.AotCompatibility.TestApp.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@
3737
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
3838

3939
<Target Name="PublishProject">
40-
<!-- Always clean before publishing so we get warnings/errors every time. -->
41-
<Exec Command="$(DOTNET_HOST_PATH) clean -c Release"
42-
WorkingDirectory="$(MSBuildProjectDirectory)" />
43-
44-
<Exec Command="$(DOTNET_HOST_PATH) publish -c Release"
40+
<Exec Command="$(DOTNET_HOST_PATH) publish"
4541
WorkingDirectory="$(MSBuildProjectDirectory)" />
4642
</Target>
4743

0 commit comments

Comments
 (0)