diff --git a/Directory.Build.props b/Directory.Build.props
index 7de4b0494281..d6828e1af93b 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -174,6 +174,8 @@
freebsd-x64
+ $(SupportedRuntimeIdentifiers);$(TargetRuntimeIdentifier)
+
false
true
diff --git a/eng/Common.props b/eng/Common.props
index a9a69bde9f22..3dcca1c6b54d 100644
--- a/eng/Common.props
+++ b/eng/Common.props
@@ -6,6 +6,8 @@
freebsd
x64
$(TargetOsName)-$(TargetArchitecture)
+ true
+ $(TargetRuntimeIdentifier)
diff --git a/eng/Dependencies.props b/eng/Dependencies.props
index c1b35e485328..0d47cc0a111b 100644
--- a/eng/Dependencies.props
+++ b/eng/Dependencies.props
@@ -106,6 +106,7 @@ and are generated based on the last package release.
+
@@ -121,6 +122,7 @@ and are generated based on the last package release.
+
diff --git a/eng/tools/GenerateFiles/Directory.Build.targets.in b/eng/tools/GenerateFiles/Directory.Build.targets.in
index 1af2667cb4b4..e97a6485d5b9 100644
--- a/eng/tools/GenerateFiles/Directory.Build.targets.in
+++ b/eng/tools/GenerateFiles/Directory.Build.targets.in
@@ -56,18 +56,27 @@
${MicrosoftNETCoreAppRuntimeVersion}
+ $(TargetRuntimeIdentifier)
${MicrosoftNETCoreAppRuntimeVersion}
+ $(TargetRuntimeIdentifier)
${MicrosoftNETCoreAppRuntimeVersion}
+ $(TargetRuntimeIdentifier)
+
+ ${MicrosoftNETCoreAppRuntimeVersion}
+ $(TargetRuntimeIdentifier)
+
+
false
true
- linux-x64
+ linux-x64
annotations
diff --git a/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj b/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj
index c0627880378c..c8074844dcfa 100644
--- a/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj
+++ b/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj
@@ -96,7 +96,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
$(Crossgen2ToolFileName).exe
- PkgMicrosoft_NETCore_App_Runtime_$(RuntimeIdentifier)
+ PkgMicrosoft_NETCore_App_Runtime_$(RuntimeIdentifier.Replace('.', '_'))
$(TargetOsName)
linux
+ $(TargetRuntimeIdentifier.Substring(0,$(TargetRuntimeIdentifier.IndexOf('-'))))
x64
$(BuildArchitecture)
- PkgMicrosoft_NETCore_App_Crossgen2_$(BuildOsName)-$(Crossgen2BuildArchitecture)
+ PkgMicrosoft_NETCore_App_Crossgen2_$(BuildOsName.Replace('.', '_'))-$(Crossgen2BuildArchitecture)
$(AssetTargetFallback);native,Version=0.0
diff --git a/src/Tools/Directory.Build.targets b/src/Tools/Directory.Build.targets
index 854f90ab5c20..438ea3da045d 100644
--- a/src/Tools/Directory.Build.targets
+++ b/src/Tools/Directory.Build.targets
@@ -1,7 +1,7 @@
- win-x64;win-x86
+ win-x64;win-x86
false