diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 8cf73828941e2..77e1bf681db8b 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -277,6 +277,10 @@ $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'testhost', '$(BuildSettings)')) + $(ArtifactsBinDir)\lib-runtime-packs + $(NETCoreAppRuntimePackPath)\runtimes\$(__RuntimeId)\lib\$(NETCoreAppFramework) + $(NETCoreAppRuntimePackPath)\runtimes\$(__RuntimeId)\native + runtimes/$(__RuntimeId) $(ArtifactsObjDir)version.txt @@ -304,24 +308,17 @@ - true + true true + true + $([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(ProductVersion)')) $(NETCoreAppTestSharedFrameworkPath) $(TestHostRootPath) $(TestHostRuntimePath)PlatformManifest.txt - - - true - - $(ArtifactsBinDir)\lib-runtime-packs - $(NETCoreAppRuntimePackPath)\lib - $(NETCoreAppRuntimePackPath)\native - $(NETCoreAppRuntimePackNativePath)\include - $(NETCoreAppRuntimePackNativePath)\cross diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets index 376b9b4554264..0d134a9824b04 100644 --- a/src/libraries/Directory.Build.targets +++ b/src/libraries/Directory.Build.targets @@ -92,14 +92,13 @@ $(TestHostRootPath) - - + + $(NETCoreAppRuntimePackLibPath) - - + $(NETCoreAppRuntimePackNativePath) - BinMobileNative + NativeRuntimePackBinPlaceItem diff --git a/src/libraries/Native/native-binplace.proj b/src/libraries/Native/native-binplace.proj index 929c669ceca27..a3d88e1ec59b4 100644 --- a/src/libraries/Native/native-binplace.proj +++ b/src/libraries/Native/native-binplace.proj @@ -10,7 +10,7 @@ - + @@ -23,6 +23,18 @@ + + + + + + + + + + + + diff --git a/src/libraries/pretest.proj b/src/libraries/pretest.proj index 74931a96ee831..d4b8d16021a30 100644 --- a/src/libraries/pretest.proj +++ b/src/libraries/pretest.proj @@ -2,6 +2,8 @@ BuildAllProjects=true + .NETCoreApp + Microsoft.NETCore.App @@ -35,7 +37,7 @@ + + + + + RuntimeList.xml + $(NETCoreAppRuntimePackPath)/data/$(FrameworkListFilename) + + + + <_rpLibFiles Include="$(NETCoreAppRuntimePackLibPath)\*.*" /> + <_rpNativeFiles Include="$(NETCoreAppRuntimePackNativePath)\*.*" /> + + <_runtimePackFiles Include="@(_rpLibFiles)"> + $(RuntimePackTargetFrameworkPath)/lib/$(NETCoreAppFramework) + true + + <_runtimePackFiles Include="@(_rpNativeFiles)"> + $(RuntimePackTargetFrameworkPath)/native + true + + + + + + + + + diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index ec950c32d3a41..c92fb2c3e8ccf 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -26,6 +26,15 @@ + + + + + + + + + @@ -70,32 +79,18 @@ - - - - - - - - - - + - - - - + SkipUnchangedFiles="true" /> + + - +