diff options
-rw-r--r-- | build.cmd | 2 | ||||
-rw-r--r-- | dir.common.props | 21 | ||||
-rw-r--r-- | dir.props | 5 |
3 files changed, 13 insertions, 15 deletions
@@ -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> @@ -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" /> |