diff --git a/Directory.Build.props b/Directory.Build.props
index b195586ed557..0c211aa964fe 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -278,9 +278,9 @@
-
- $(MSBuildThisFileDirectory)Directory.Build.BeforeCommonTargets.targets
- $(MSBuildThisFileDirectory)Directory.Build.BeforeCommonTargets.targets
+
+ $(MSBuildThisFileDirectory)Directory.Build.BeforeCommonTargets.targets;$(CustomBeforeMicrosoftCommonTargets)
+ $(MSBuildThisFileDirectory)Directory.Build.BeforeCommonTargets.targets;$(CustomBeforeMicrosoftCommonCrossTargetingTargets)
diff --git a/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.sfxproj b/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.sfxproj
index 2557ff39e892..9407cde31fa5 100644
--- a/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.sfxproj
+++ b/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.sfxproj
@@ -32,7 +32,7 @@
$(MicrosoftNETCoreAppRefVersion)
- $(DotnetTargetingPackDependencyVersion.Substring(0, $(DotnetTargetingPackDependencyVersion.IndexOf('-'))))~$(DotnetTargetingPackDependencyVersion.Substring($([MSBuild]::Add($(DotnetTargetingPackDependencyVersion.IndexOf('-')), 1))))
+ $(DotnetRuntimeDependencyVersion.Substring(0, $(DotnetRuntimeDependencyVersion.IndexOf('-'))))~$(DotnetRuntimeDependencyVersion.Substring($([MSBuild]::Add($(DotnetRuntimeDependencyVersion.IndexOf('-')), 1))))
$(MicrosoftNETCoreAppRefVersion.Split('.')[0]).$(MicrosoftNETCoreAppRefVersion.Split('.')[1])
diff --git a/src/Tools/Directory.Build.targets b/src/Tools/Directory.Build.targets
index 1617d9edd1ba..79ede63cd7ec 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