diff --git a/eng/liveBuilds.targets b/eng/liveBuilds.targets
index 7710f9d5e2f3f..075c820d89308 100644
--- a/eng/liveBuilds.targets
+++ b/eng/liveBuilds.targets
@@ -18,6 +18,7 @@
$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'mono', '$(TargetOS).$(TargetArchitecture).$(MonoConfiguration)'))
$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts'))
$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', '$(TargetOS.ToLowerInvariant())-$(TargetArchitecture).$(CoreCLRConfiguration)', 'corehost'))
@@ -52,6 +53,8 @@
Text="The CoreCLR artifacts path does not exist '$(CoreCLRArtifactsPath)'. The 'clr' subset must be built before building this project. Configuration: '$(CoreCLRConfiguration)'. To use a different configuration, specify the 'RuntimeConfiguration' property." />
+
$([MSBuild]::NormalizeDirectory('$(CoreCLRArtifactsPath)'))
@@ -64,6 +67,7 @@
$([MSBuild]::NormalizeDirectory('$(CoreCLRSharedFrameworkDir)','PDB'))
$([MSBuild]::NormalizeDirectory('$(CoreCLRArtifactsPath)','$(CoreCLRCrossTargetComponentDirName)','sharedFramework'))
+ $(CoreCLRArtifactsPath)/corehost/singlefilehost$(ExeSuffix)
$([MSBuild]::NormalizeDirectory('$(MonoArtifactsPath)'))
diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets
index 85ee6deb32db3..67fba5113fd10 100644
--- a/eng/testing/tests.singlefile.targets
+++ b/eng/testing/tests.singlefile.targets
@@ -11,7 +11,7 @@
$(AssemblyName).exe
chmod +rwx $(AssemblyName) && ./$(AssemblyName)
-
+
true
true
diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj
index 7959568995ac4..447caf858c15b 100644
--- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj
+++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj
@@ -1,9 +1,42 @@
-
+
+
+
- $(RuntimeBinDir)/crossgen2
+ $(RuntimeBinDir)/crossgen2
true
+ true
+ true
$(Crossgen2PackageRID)
+
+
+ $(Crossgen2PackageRID)
+ true
+ true
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+ $(MicrosoftNetCoreAppRuntimePackDir)
+
+
+
+
+
+
+
diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.props b/src/coreclr/tools/aot/crossgen2/crossgen2.props
index 7f38cdc728a75..17b2500f36562 100644
--- a/src/coreclr/tools/aot/crossgen2/crossgen2.props
+++ b/src/coreclr/tools/aot/crossgen2/crossgen2.props
@@ -4,7 +4,7 @@
true
Exe
$(NetCoreAppToolCurrent)
- 8002,NU1701
+ $(NoWarn);8002,NU1701
x64;x86;arm64;arm
AnyCPU
false
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj
index 6990339554f49..0f7647b62bb98 100644
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj
@@ -4,7 +4,7 @@
true
- RuntimePack
+ ToolPack
$(SharedFrameworkName).Crossgen2
.PGO
$(SharedFrameworkName)$(PgoSuffix).$(RuntimeIdentifier)
@@ -12,57 +12,45 @@
crossgen2
linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm
+ CollectCrossgenOutputs
false
-
- AddRuntimeFilesToPackage;
- AddFrameworkFilesToPackage
-
- true
-
- false
tools/
true
-
- unix
- win
- $(TargetOSComponent)-$(TargetArchitecture)
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ $(OutputPath)publish/
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+ unix
+ win
+ $(TargetOSComponent)-$(TargetArchitecture)
+
@@ -75,24 +63,15 @@
+
+
+
+
-
-
-
-
-
- <_PackagedFilesToPublish Include="@(_FilesToPackage)" Condition="'%(_FilesToPackage.PackOnly)' != 'true'" />
-
-
-
-
-
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props
index 87aaf9d263ced..aebb03707f224 100644
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props
@@ -101,7 +101,7 @@
tools/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)
-
tools
diff --git a/src/libraries/externals.csproj b/src/libraries/externals.csproj
index 6ef3ddc0f1901..7aeec03b7bb10 100644
--- a/src/libraries/externals.csproj
+++ b/src/libraries/externals.csproj
@@ -11,6 +11,15 @@
true
+
+
+
+ $(NetCoreAppCurrentTestHostSharedFrameworkPath)
+ $(NetCoreAppCurrentTestHostSharedFrameworkPath)
+
+
+
@@ -57,36 +66,4 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/libraries/pretest.proj b/src/libraries/pretest.proj
index fc2fee13d5c33..6bec31f108ea9 100644
--- a/src/libraries/pretest.proj
+++ b/src/libraries/pretest.proj
@@ -12,11 +12,12 @@
+
diff --git a/src/libraries/runtime-binplace.csproj b/src/libraries/runtime-binplace.csproj
new file mode 100644
index 0000000000000..1b0c1b1f8f68f
--- /dev/null
+++ b/src/libraries/runtime-binplace.csproj
@@ -0,0 +1,49 @@
+
+
+
+ true
+ $(NetCoreAppCurrent)
+
+ false
+ true
+ false
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file