diff --git a/Directory.Build.props b/Directory.Build.props
index a7e9169c91..633b1d3239 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -44,9 +44,10 @@
-
- $(RepoRoot)
- $(RepoRoot)src/
+ $(RepoRoot)
+
+ $(SetupRoot)
+ $(SetupRoot)src/
$(ArtifactsBinDir)
diff --git a/LICENSE.TXT b/LICENSE
similarity index 100%
rename from LICENSE.TXT
rename to LICENSE
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index a9988222f8..812af43ccb 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -123,7 +123,7 @@
https://github.com/dotnet/arcade
b47a997282b4d347cb079d26515ea4147e2ac548
-
+
https://github.com/dotnet/arcade
a093b5b2bef24499239a2e9b4114db01fa19e446
diff --git a/global.json b/global.json
index a286d40fb0..9c20ec1a41 100644
--- a/global.json
+++ b/global.json
@@ -9,6 +9,6 @@
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.19517.8",
- "Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk": "5.0.0-beta.19515.1"
+ "Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk": "5.0.0-beta.19517.8"
}
}
diff --git a/publish/prepare-artifacts.proj b/publish/prepare-artifacts.proj
index 4d66ad7652..219866c404 100644
--- a/publish/prepare-artifacts.proj
+++ b/publish/prepare-artifacts.proj
@@ -5,7 +5,7 @@
Condition="'$(SkipSigning)' != 'true' and '$(SignType)' != 'public'">
diff --git a/src/corehost/build.cmd b/src/corehost/build.cmd
index 7983568436..b22f2540a8 100644
--- a/src/corehost/build.cmd
+++ b/src/corehost/build.cmd
@@ -4,9 +4,6 @@ setlocal
:SetupArgs
:: Initialize the args that will be passed to cmake
set __nativeWindowsDir=%~dp0Windows
-set __binDir=%~dp0..\..\artifacts\bin
-set __objDir=%~dp0..\..\artifacts\obj
-set __rootDir=%~dp0..\..
set __CMakeBinDir=""
set __IntermediatesDir=""
set __BuildArch=x64
@@ -40,6 +37,7 @@ if /i [%1] == [policyver] (set __HostPolicyVersion=%2&&shift&&shift&goto Arg_L
if /i [%1] == [commit] (set __CommitSha=%2&&shift&&shift&goto Arg_Loop)
if /i [%1] == [incremental-native-build] ( set __IncrementalNativeBuild=1&&shift&goto Arg_Loop)
+if /i [%1] == [rootDir] ( set __rootDir=%2&&shift&&shift&goto Arg_Loop)
shift
goto :Arg_Loop
@@ -87,6 +85,15 @@ set __VSVersion=15 2017
call "%VS150COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat" %__VCBuildArch%
:SetupDirs
+
+if %__rootDir% == "" (
+ echo Root directory must be provided via the rootDir parameter.
+ exit /b 1
+)
+
+set __binDir=%__rootDir%\artifacts\bin
+set __objDir=%__rootDir%\artifacts\obj
+
:: Setup to cmake the native components
echo Commencing build of corehost
echo.
@@ -137,8 +144,6 @@ goto :Failure
:: Build the project created by Cmake
set __msbuildArgs=/p:Platform=%__BuildArch% /p:PlatformToolset="%__PlatformToolset%"
-cd %__rootDir%
-
SET __NativeBuildArgs=/t:rebuild
if /i "%__IncrementalNativeBuild%" == "1" SET __NativeBuildArgs=
diff --git a/src/corehost/build.proj b/src/corehost/build.proj
index 78a7f2042b..a666f704f8 100644
--- a/src/corehost/build.proj
+++ b/src/corehost/build.proj
@@ -31,6 +31,7 @@
$(BuildArgs) -portable
$(BuildArgs) --cross
$(BuildArgs) --stripsymbols
+ $(BuildArgs) --rootdir $(RepoRoot)
https://go.microsoft.com/fwlink/?LinkID=799417
diff --git a/src/pkg/packaging/installers.proj b/src/pkg/packaging/installers.proj
index 2f503266d5..a8b7a2b439 100644
--- a/src/pkg/packaging/installers.proj
+++ b/src/pkg/packaging/installers.proj
@@ -51,19 +51,19 @@
-
+
-
+
-
+
-
+
@@ -89,10 +89,10 @@
-
-
diff --git a/src/pkg/packaging/pack-managed.proj b/src/pkg/packaging/pack-managed.proj
index 7c7c791e5f..3b19cdf603 100644
--- a/src/pkg/packaging/pack-managed.proj
+++ b/src/pkg/packaging/pack-managed.proj
@@ -1,19 +1,24 @@
+
+
+
+ $(NETCoreAppFramework)
+
+
+
-
+
-
+
-
-
diff --git a/src/pkg/packaging/vs-insertion-packages.proj b/src/pkg/packaging/vs-insertion-packages.proj
index 86af084d80..657e56002a 100644
--- a/src/pkg/packaging/vs-insertion-packages.proj
+++ b/src/pkg/packaging/vs-insertion-packages.proj
@@ -12,7 +12,7 @@
insertion NuGet packages on each project. Bundle installers aren't inserted, so this is enough.
-->
-
+
diff --git a/src/pkg/projects/Directory.Build.props b/src/pkg/projects/Directory.Build.props
index ce3b150436..d67f23be70 100644
--- a/src/pkg/projects/Directory.Build.props
+++ b/src/pkg/projects/Directory.Build.props
@@ -1,6 +1,11 @@
+
+ $(SetupRoot)signing\
+ $(RepoRoot)LICENSE
+
+
@@ -58,7 +63,7 @@
+ Include="$(SetupRoot)signing\SignBinaries.proj" />
diff --git a/src/pkg/projects/Microsoft.NETCore.DotNetHost/Microsoft.NETCore.DotNetHost.pkgproj b/src/pkg/projects/Microsoft.NETCore.DotNetHost/Microsoft.NETCore.DotNetHost.pkgproj
index d4c5824f7b..4d5847452a 100644
--- a/src/pkg/projects/Microsoft.NETCore.DotNetHost/Microsoft.NETCore.DotNetHost.pkgproj
+++ b/src/pkg/projects/Microsoft.NETCore.DotNetHost/Microsoft.NETCore.DotNetHost.pkgproj
@@ -26,14 +26,14 @@
-
-
-
diff --git a/src/test/PrepareTestAssets/PrepareTestAssets.proj b/src/test/PrepareTestAssets/PrepareTestAssets.proj
index c4aa79d6e2..caaa386366 100644
--- a/src/test/PrepareTestAssets/PrepareTestAssets.proj
+++ b/src/test/PrepareTestAssets/PrepareTestAssets.proj
@@ -58,7 +58,7 @@
- $(ProjectDir)NuGet.config
+ $(RepoRoot)NuGet.config
@(RestoreTestSource -> '<add key="%(Key)" value="%(Identity)" />', '%0A ')