Skip to content

Commit 9fe1c49

Browse files
committed
Try out build with '$(DotNetUseShippingVersions)' == 'true'
1 parent e2655d9 commit 9fe1c49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<IsAnalyzersProject Condition="$(MSBuildProjectName.EndsWith('.Analyzers'))">true</IsAnalyzersProject>
2323
<IsShipping Condition="'$(IsSampleProject)' == 'true' or '$(IsTestAssetProject)' == 'true' or '$(IsBenchmarkProject)' == 'true' or '$(IsUnitTestProject)' == 'true'">false</IsShipping>
2424

25+
<!--
26+
Disable Arcade version overrides entirely. This produces non-deterministic builds but reduces the need for
27+
workarounds for assembly and file versions.
28+
-->
29+
<DotNetUseShippingVersions Condition=" '$(Language)' == 'C#' ">true</DotNetUseShippingVersions>
30+
2531
<!--
2632
Following logic mimics core-setup approach as well as
2733
https://github.com/dotnet/arcade/blob/694d59f090b743f894779d04a7ffe11cbaf352e7/src/Microsoft.DotNet.Arcade.Sdk/tools/Publish.proj#L30-L31

0 commit comments

Comments
 (0)