summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.cmd2
-rw-r--r--dir.common.props21
-rw-r--r--dir.props5
3 files changed, 13 insertions, 15 deletions
diff --git a/build.cmd b/build.cmd
index 3b1ff66b49..b06c369912 100644
--- a/build.cmd
+++ b/build.cmd
@@ -646,7 +646,7 @@ if %__BuildCoreLib% EQU 1 (
if %__IbcOptimize% EQU 1 (
echo %__MsgPrefix%Commencing IBCMerge of System.Private.CoreLib for %__BuildOS%.%__BuildArch%.%__BuildType%
set IbcMergeProjectFilePath=%__ProjectDir%\src\.nuget\optdata\ibcmerge.csproj
- for /f "tokens=*" %%s in ('call "%__ProjectDir%\dotnet.cmd" msbuild "!IbcMergeProjectFilePath!" /t:DumpIbcMergePackageVersion /p:ArcadeBuild=true /nologo') do @(
+ for /f "tokens=*" %%s in ('call "%__ProjectDir%\dotnet.cmd" msbuild "!IbcMergeProjectFilePath!" /t:DumpIbcMergePackageVersion /p:ArcadeBuild^=true /nologo') do @(
set __IbcMergeVersion=%%s
)
diff --git a/dir.common.props b/dir.common.props
index 106331e911..70382d60e5 100644
--- a/dir.common.props
+++ b/dir.common.props
@@ -16,15 +16,6 @@
<RestorePackagesPath>$(PackagesDir)</RestorePackagesPath>
</PropertyGroup>
- <!-- Version numbers for native binaries
- [ARCADE REMOVE] These properties can be removed once native binaries use Arcade versioning
- They are included in common for packaging, which is onboarded to Arcade, but uses the version
- numbers for native binaries for some outputs. -->
- <PropertyGroup>
- <NativeMajorVersion>4</NativeMajorVersion>
- <NativeMinorVersion>6</NativeMinorVersion>
- </PropertyGroup>
-
<!-- Set default Configuration and Platform -->
<PropertyGroup>
<BuildArch>$(__BuildArch)</BuildArch>
@@ -72,6 +63,18 @@
<PackagesBinDir Condition="'$(__PackagesBinDir)'==''">$(BinDir).nuget\</PackagesBinDir>
</PropertyGroup>
+ <!-- Version numbers for native binaries and build version props file
+ [ARCADE REMOVE] These properties can be removed once native binaries use Arcade versioning
+ They are included in common for packaging, which is onboarded to Arcade, but uses the version
+ numbers for native binaries for some outputs. -->
+ <PropertyGroup>
+ <NativeMajorVersion>4</NativeMajorVersion>
+ <NativeMinorVersion>6</NativeMinorVersion>
+
+ <!-- Explicitly set BuildVersionFile. This is used by BuildVersion.targets in BuildTools. -->
+ <BuildVersionFile Condition="'$(OfficialBuildId)' != ''">$(RootBinDir)obj\BuildVersion-$(OfficialBuildId).props</BuildVersionFile>
+ </PropertyGroup>
+
<PropertyGroup>
<!-- Central place to set the versions of all nuget packages produced in the repo -->
<PackageVersion Condition="'$(PackageVersion)' == ''">3.0.0</PackageVersion>
diff --git a/dir.props b/dir.props
index ad0cb76063..e93c9f516b 100644
--- a/dir.props
+++ b/dir.props
@@ -69,11 +69,6 @@
<OutputPath Condition="'$(OutputPath)' == ''">$(BinDir)</OutputPath>
</PropertyGroup>
- <!-- Explicitly set BuildVersionFile before importing common. This is used by BuildVersion.targets. -->
- <PropertyGroup Condition="'$(OfficialBuildId)' != ''">
- <BuildVersionFile>$(BaseIntermediateOutputPath)BuildVersion-$(OfficialBuildId).props</BuildVersionFile>
- </PropertyGroup>
-
<!-- Import Build tools common props file where repo-independent properties are found -->
<Import Condition="Exists('$(ToolsDir)Build.Common.props')" Project="$(ToolsDir)Build.Common.props" />