From 69d7d1381ec5d18ed648d6839fc625f7bdeb2c25 Mon Sep 17 00:00:00 2001 From: Mitchell Hwang Date: Wed, 22 Apr 2020 12:24:56 -0400 Subject: [PATCH 1/9] [libraries] Build lib-runtime-packs for all of mono, not just mobile --- src/libraries/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 09ade10ad7e7bc..033703633e737d 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -312,7 +312,7 @@ true true - true + true $([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(ProductVersion)')) From cc4a3e177cb1452c52271f46962246758e8b026d Mon Sep 17 00:00:00 2001 From: Mitchell Hwang Date: Thu, 23 Apr 2020 09:32:33 -0400 Subject: [PATCH 2/9] [libraries] Build lib-runtime-packs for all of mono, not just mobile --- src/libraries/Directory.Build.props | 2 +- src/libraries/restore/runtime/runtime.depproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index bc645f5ca21a44..4d1fedb91027fc 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -307,7 +307,7 @@ true true - true + true $([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(ProductVersion)')) diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index 3179312c073336..11db8349e84740 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -69,7 +69,7 @@ @@ -98,7 +98,7 @@ DependsOnTargets="ResolveRuntimeFilesFromLocalBuild" AfterTargets="AfterResolveReferences;FilterNugetPackages" Condition="'$(RuntimeFlavor)' == 'Mono'"> - + From 7bb8bcace912ee35e34b272fdd320726fe8b760e Mon Sep 17 00:00:00 2001 From: Mitchell Hwang Date: Thu, 23 Apr 2020 09:33:19 -0400 Subject: [PATCH 3/9] [libraries] Remove dotnet and unnecessary files from lib-runtime-packs --- src/libraries/restore/runtime/runtime.depproj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index 11db8349e84740..93e856160c50fc 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -17,7 +17,7 @@ - + hostfxr @@ -50,13 +51,14 @@ false - - - + + + - - + + + + Condition="'$(RuntimeFlavor)' == 'Mono'"> + + + + From 93080b5b607461f1fdb10ae783d1333670b1790a Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Wed, 29 Apr 2020 21:06:46 -0400 Subject: [PATCH 7/9] BinPlace native libs + runtime into testhost for desktop mono --- src/libraries/Directory.Build.targets | 6 ++++++ src/libraries/Native/native-binplace.proj | 4 ++++ src/libraries/restore/runtime/runtime.depproj | 7 +++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets index 16af4c2e85b5f4..1853f7931f8b45 100644 --- a/src/libraries/Directory.Build.targets +++ b/src/libraries/Directory.Build.targets @@ -102,6 +102,12 @@ $(NETCoreAppRuntimePackNativePath) NativeBinPlaceItem + + + $(TestHostRuntimePath) + TestHostBinPlaceItem + + diff --git a/src/libraries/Native/native-binplace.proj b/src/libraries/Native/native-binplace.proj index 91f42083d6108f..a17aab30baef9f 100644 --- a/src/libraries/Native/native-binplace.proj +++ b/src/libraries/Native/native-binplace.proj @@ -24,6 +24,10 @@ + + + + diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index 87a257c12f95f3..6df63d7112887b 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -86,6 +86,9 @@ include/%(RecursiveDir) + + + - + From a1897df279ca954162800e1ff0f000663c7fe733 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Wed, 29 Apr 2020 21:10:41 -0400 Subject: [PATCH 8/9] Removed comment --- src/libraries/restore/runtime/runtime.depproj | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index 6df63d7112887b..37eeac8f8677ec 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -111,9 +111,6 @@ - From d5464fe157401d4af8418acbe72ce7b9810f5ec4 Mon Sep 17 00:00:00 2001 From: Mitchell Hwang Date: Thu, 30 Apr 2020 15:51:20 -0400 Subject: [PATCH 9/9] [libraries] Remove redundant condition from ItemGroup in SetupRuntimePackNative --- src/libraries/restore/runtime/runtime.depproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index 37eeac8f8677ec..9ac02f01c9bed0 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -86,7 +86,7 @@ include/%(RecursiveDir) - +