diff --git a/Directory.Build.props b/Directory.Build.props
index 02487bf33..e63ff8273 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -7,6 +7,12 @@
MIT
+
+ $([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())
+ $(BuildArchitecture)
+ x64
+
+
True
embedded
diff --git a/eng/Versions.props b/eng/Versions.props
index 0f64d2771..4c942f39e 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -122,7 +122,7 @@
$(BuildTasksFeedToolVersion)
2.0.0
15.8.0
- 1.0.0-beta2-18618-05
+ 1.0.0-beta2-19367-01
diff --git a/src/redist/targets/Crossgen.targets b/src/redist/targets/Crossgen.targets
index 47adeabea..3fccba0e6 100644
--- a/src/redist/targets/Crossgen.targets
+++ b/src/redist/targets/Crossgen.targets
@@ -5,14 +5,14 @@
microsoft.netcore.app.runtime.$(SharedFrameworkRid)
- <_crossDir Condition="'$(Architecture)' == 'arm64'">/x64_arm64
+ <_crossDir Condition="'$(Architecture)' == 'arm64' and '$(BuildArchitecture)' != 'arm64'">/x64_arm64
<_crossDir Condition="'$(Architecture)' == 'arm' And '$(OSName)' == 'win'">/x86_arm
<_crossDir Condition="'$(Architecture)' == 'arm' And '$(OSName)' == 'linux'">/x64_arm
$(NuGetPackageRoot)/$(RuntimeNETCoreAppPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/tools$(_crossDir)/crossgen$(ExeExtension)
- $(SharedFrameworkRid)
- x64_arm64
+ x64_arm64
x86_arm
x64_arm
+ $(SharedFrameworkRid)
$(NuGetPackageRoot)/$(RuntimeNETCoreAppPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/runtimes/$(LibCLRJitRid)/native/$(DynamicLibPrefix)clrjit$(DynamicLibExtension)
$(RedistLayoutPath)shared/$(SharedFrameworkName)/$(MicrosoftNETCoreAppRuntimePackageVersion)
*
diff --git a/src/redist/targets/GenerateLayout.targets b/src/redist/targets/GenerateLayout.targets
index 24aedd08f..1d1c0d435 100644
--- a/src/redist/targets/GenerateLayout.targets
+++ b/src/redist/targets/GenerateLayout.targets
@@ -48,11 +48,11 @@
$(CoreSetupRid)
- x64
+ $(Architecture)
$(CoreSetupRid)
- x64
+ $(Architecture)
x64
x86
diff --git a/src/redist/targets/GetRuntimeInformation.targets b/src/redist/targets/GetRuntimeInformation.targets
index 695a56908..cd75c251b 100644
--- a/src/redist/targets/GetRuntimeInformation.targets
+++ b/src/redist/targets/GetRuntimeInformation.targets
@@ -13,7 +13,6 @@
linux
linux
- x64
$(OSName)-$(Architecture)