Merge pull request #16268 from CarolEidt/Fix16254
[platform/upstream/coreclr.git] / tests / dir.props
index ec1d57f..66aa422 100644 (file)
     <RestorePackages>false</RestorePackages>
   </PropertyGroup>
 
-  <PropertyGroup>
+  <PropertyGroup Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'">
     <BuildVersionFile>$(BaseIntermediateOutputPath)BuildVersion-$(OfficialBuildId).props</BuildVersionFile>
   </PropertyGroup>