Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 224ee9f

Browse files
committed
Predicate overwrite of BuildVersionFile on OverwriteCoreClrPackageVersion == true
1 parent 0b224da commit 224ee9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/dir.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@
103103
<RestorePackages>false</RestorePackages>
104104
</PropertyGroup>
105105

106+
<PropertyGroup Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'">
107+
<BuildVersionFile>$(BaseIntermediateOutputPath)BuildVersion-$(OfficialBuildId).props</BuildVersionFile>
108+
</PropertyGroup>
109+
106110
<!-- If we want to overwrite the desired CoreCLR package version, we need to get the new version from the generated props file in bin/obj -->
107111
<Import Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'" Project="$(BuildVersionFile)" />
108112

0 commit comments

Comments
 (0)