Skip to content

Commit 43babbc

Browse files
committed
fix: use IsPublishable instead of DeployOnBuild for multi-TFM skip
DeployOnBuild=false in the csproj is overridden by the command-line -p:DeployOnBuild=true. IsPublishable=false prevents the Publish target from running regardless of command-line properties.
1 parent cf1e4e7 commit 43babbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Agent/IntegrationTests/Applications/AspNetCoreWebApiLambdaApplication/AspNetCoreWebApiLambdaApplication.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1010
<!-- Multi-TFM Web SDK projects fail MSBuild solution-level DeployOnBuild (NETSDK1129).
1111
The CI pre-publish step handles per-TFM publishing instead. -->
12-
<DeployOnBuild>false</DeployOnBuild>
12+
<IsPublishable>false</IsPublishable>
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<!-- 1.7.0 is from Feb 2022 -->

0 commit comments

Comments
 (0)