diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 1501f78fe6d..9906b66bcc8 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -42,7 +42,7 @@
https://github.com/dotnet/arcade
fef373440d604c428950236fbc2b99ce0df368a9
-
+
https://github.com/dotnet/arcade
fef373440d604c428950236fbc2b99ce0df368a9
diff --git a/eng/testing/tests.mobile.targets b/eng/testing/tests.mobile.targets
index 5e12956f8b9..a989a9e980c 100644
--- a/eng/testing/tests.mobile.targets
+++ b/eng/testing/tests.mobile.targets
@@ -20,7 +20,7 @@
x86
-
+
-
+
@@ -74,12 +74,12 @@
+ LLVMPath="$(MicrosoftNetCoreAppRuntimePackNativeDir)cross">
@@ -89,7 +89,7 @@
-
+
-
+
diff --git a/global.json b/global.json
index 60849de47cb..248be193663 100644
--- a/global.json
+++ b/global.json
@@ -12,7 +12,7 @@
"python3": "3.7.1"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk": "5.0.0-beta.20280.1",
+ "Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk": "5.0.0-beta.20308.5",
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20280.1",
"Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk": "5.0.0-beta.20280.1",
"Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20280.1",
diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props
index 8a5a16a37f2..d528a633013 100644
--- a/src/libraries/Directory.Build.props
+++ b/src/libraries/Directory.Build.props
@@ -270,11 +270,14 @@
$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'testhost', '$(BuildSettings)'))
- $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'lib-runtime-packs', '$(BuildSettings)'))
- $([MSBuild]::NormalizeDirectory('$(RuntimePackDir)', 'runtimes', '$(PackageRID)'))
- $([MSBuild]::NormalizeDirectory('$(RuntimePackRidDir)', 'lib', '$(NetCoreAppCurrent)'))
- $([MSBuild]::NormalizeDirectory('$(RuntimePackRidDir)', 'native'))
- runtimes/$(PackageRID)
+ $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'microsoft.netcore.app.ref', '$(Configuration)'))
+ $([MSBuild]::NormalizeDirectory('$(MicrosoftNetCoreAppRefPackDir)', 'ref'))
+ $([MSBuild]::NormalizeDirectory('$(MicrosoftNetCoreAppRefPackDir)', 'data'))
+
+ $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'microsoft.netcore.app.runtime.$(PackageRID)', '$(Configuration)'))
+ $([MSBuild]::NormalizeDirectory('$(MicrosoftNetCoreAppRuntimePackDir)', 'runtimes', '$(PackageRID)'))
+ $([MSBuild]::NormalizeDirectory('$(MicrosoftNetCoreAppRuntimePackRidDir)', 'lib', '$(NetCoreAppCurrent)'))
+ $([MSBuild]::NormalizeDirectory('$(MicrosoftNetCoreAppRuntimePackRidDir)', 'native'))
$(ArtifactsObjDir)version.txt
@@ -302,8 +305,6 @@
true
true
- true
-
$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(ProductVersion)'))
$(NETCoreAppTestSharedFrameworkPath)
diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets
index 6ac85438567..8cd6b7f02df 100644
--- a/src/libraries/Directory.Build.targets
+++ b/src/libraries/Directory.Build.targets
@@ -46,8 +46,8 @@
$(IsNETCoreApp)
$(IsNetFxNETStandard)
- true
- true
+ true
+ true
true
net45;net451;net46;net461;net462;net47;net471;net472;netstandard1.0;netstandard1.1;netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard1.6;netstandard2.0;netstandard2.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0;$(netcoreappCurrent);
@@ -60,15 +60,18 @@
+ $(RuntimePath)
$(BuildTargetFrameworkRefPath)
$(RuntimePath)
+ $(NETCoreAppPackageRuntimePath)
$(NETCoreAppPackageRefPath)
$(NETCoreAppPackageRuntimePath)
- $(NETCoreAppPackageRuntimePath)\..\runtime\$(TargetOS)-$(Configuration)-$(TargetArchitecture)
+ $(NETCoreAppPackageRuntimePath)\..\runtime\$(TargetOS)-$(Configuration)-$(TargetArchitecture)
$(RefRootPath)microsoft.netcore.app\$(Configuration)
+ $(NETCoreAppPackageRuntimePath)\..\runtime\$(TargetOS)-$(Configuration)-$(TargetArchitecture)
ILLinkTrimAssembly=true
@@ -79,28 +82,30 @@
+ $(NETCoreAppTestSharedFrameworkPath)
$(NETCoreAppTestSharedFrameworkPath)
+ $(TestHostRootPath)
$(TestHostRootPath)
-
-
-
- $(RuntimePackLibDir)
-
-
-
- $(RuntimePackNativeDir)
- NativeBinPlaceItem
-
-
-
- $(TestHostRuntimePath)
- TestHostBinPlaceItem
+
+
+ $(MicrosoftNetCoreAppRefPackRefDir)
+
+
+ $(MicrosoftNetCoreAppRuntimePackNativeDir)
+ $(MicrosoftNetCoreAppRuntimePackRidLibTfmDir)
+
+
+
+ $(NETCoreAppTestSharedFrameworkPath)
+ TestHostBinPlaceItem
+
@@ -120,6 +125,7 @@
+ $(ArtifactsBinDir)runtime/%(Identity)-$(Configuration)-$(TargetArchitecture)
$(ArtifactsBinDir)runtime/%(Identity)-$(Configuration)-$(TargetArchitecture)
diff --git a/src/libraries/Native/native-binplace.proj b/src/libraries/Native/native-binplace.proj
index f78d61bd842..7f2a188824b 100644
--- a/src/libraries/Native/native-binplace.proj
+++ b/src/libraries/Native/native-binplace.proj
@@ -4,6 +4,8 @@
$(NetCoreAppCurrent);netstandard2.0;$(NetFrameworkCurrent)
$(BuildTargetFramework)
+ false
+ true
@@ -11,23 +13,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
diff --git a/src/libraries/pretest.proj b/src/libraries/pretest.proj
index 7b8e5f9f9f3..40941beee5d 100644
--- a/src/libraries/pretest.proj
+++ b/src/libraries/pretest.proj
@@ -13,7 +13,7 @@
-
+
@@ -35,7 +35,7 @@
+ Condition="'$(BuildTargetFramework)' == '$(NetCoreAppCurrent)'">
<_manualSharedFrameworkRuntimeFiles Include="System.Security.Cryptography.Native.OpenSsl.so" />
<_manualSharedFrameworkRuntimeFiles Include="System.Security.Cryptography.Native.Apple.dylib" />
@@ -54,11 +54,16 @@
Condition="'$(PlatformManifestFile)' != '' and '$(BuildTargetFramework)' == '$(NetCoreAppCurrent)'"
AfterTargets="RestoreTestHost">
+
+