diff --git a/Directory.Build.props b/Directory.Build.props
index d7e46d25026af0..fe15e0a9e05e71 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -10,6 +10,10 @@
-->
+
+ true
+
+
@@ -39,6 +43,12 @@
$([MSBuild]::NormalizeDirectory('$(LibrariesProjectRoot)', 'System.Private.CoreLib', 'src'))
+
+
+
+
+ true
+
+
-
+
libraries-installer-coreclr
@@ -71,7 +75,7 @@
-
+
@@ -93,12 +97,14 @@
-
+
+
-
+
+
diff --git a/eng/Tools.props b/eng/Tools.props
index a763640c26f89b..4d7d628472d50f 100644
--- a/eng/Tools.props
+++ b/eng/Tools.props
@@ -12,14 +12,11 @@
-
+
-
-
-
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 588fd63fb24386..c80da727d0c3c3 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -1,13 +1,5 @@
-
- https://github.com/dotnet/corefx
- 5cee7c97d602f294e27c582d4dab81ec388f1d7b
-
-
- https://github.com/dotnet/corefx
- 5cee7c97d602f294e27c582d4dab81ec388f1d7b
-
https://github.com/dotnet/corefx
5cee7c97d602f294e27c582d4dab81ec388f1d7b
@@ -28,10 +20,6 @@
https://github.com/dotnet/corefx
cf64918877d98577363bb40d5eafac52beb80a79
-
- https://github.com/dotnet/coreclr
- 2c4fb3250989f014550882f5d165cdc36ebdbd08
-
https://github.com/dotnet/coreclr
2c4fb3250989f014550882f5d165cdc36ebdbd08
diff --git a/eng/Versions.props b/eng/Versions.props
index 25eac8a779692d..415780a16decff 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -50,12 +50,8 @@
3.0.0
5.0.0-alpha1.19563.3
- 5.0.0-alpha1.19563.3
5.0.0-alpha1.19563.3
- 5.0.0-alpha.1.19563.6
- 5.0.0-alpha.1.19562.8
- 5.0.0-alpha.1.19563.6
5.0.0-alpha.1.19563.6
5.0.0-alpha.1.19563.6
5.0.0-alpha.1.19563.3
@@ -107,8 +103,6 @@
optimization.linux-x64.ibc.corefx
microsoft.private.intellisense
Microsoft.DotNet.XUnitConsoleRunner
- Microsoft.Private.CoreFx.NETCoreApp
- Microsoft.NETCore.Platforms
Microsoft.NETCore.App
optimization.IBC.CoreCLR
optimization.PGO.CoreCLR
diff --git a/eng/helixcorefxtests.proj b/eng/helixcorefxtests.proj
deleted file mode 100644
index 7b14fb1d0ca70a..00000000000000
--- a/eng/helixcorefxtests.proj
+++ /dev/null
@@ -1,291 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_PropertiesToPass>
- __BuildArch=$(__BuildArch);
- __BuildOS=$(__BuildOS);
- __BuildType=$(__BuildType);
- Creator=$(_Creator);
- HelixAccessToken=$(_HelixAccessToken);
- HelixBuild=$(_HelixBuild);
- HelixSource=$(_HelixSource);
- HelixTargetQueues=$(_HelixTargetQueues);
- HelixType=$(_HelixType);
- PublishTestResults=$(_PublishTestResults);
- RunCrossGen=$(_RunCrossGen);
- TimeoutPerTestCollectionInMinutes=$(_TimeoutPerTestCollectionInMinutes)
-
-
-
-
-
-
-
-
- <_Scenarios Include="$(_Scenarios.Split(','))" />
-
-
- <_ProjectsToBuild Include="$(MSBuildProjectFile)">
- $(_PropertiesToPass);Scenario=%(_Scenarios.Identity)
-
-
-
-
- <_BuildInParallel>false
- <_BuildInParallel Condition=" '@(_ProjectsToBuild->Count())' > '1' ">true
-
-
-
-
-
-
-
-
-
- $(_Creator)
- $(_HelixAccessToken)
- $(_HelixBuild)
- $(_HelixSource)
- $(_HelixTargetQueues)
- $(_HelixType)
-
-
- $(MSBuildThisFileDirectory)..\
- $(ProjectDir)artifacts\bin\coreclr
- $(ProjectDir)artifacts\tests\coreclr\$(__BuildOS).$(__BuildArch).$(__BuildType)\
- true
-
-
- $(ProjectDir)src\coreclr\tests\CoreFX\CoreFX.issues.rsp
-
- $(TestWorkingDir)testhost\
- $(TestWorkingDir)helix\
-
-
- shared\$(MicrosoftNETCoreAppPackage)\$(ProductVersion)
-
- https://dotnetfeed.blob.core.windows.net/dotnet-core
-
-
-
-
- call RunTests.cmd -r %HELIX_CORRELATION_PAYLOAD% --rsp-file %HELIX_CORRELATION_PAYLOAD%\CoreFX.issues.rsp
- ./RunTests.sh -r $HELIX_CORRELATION_PAYLOAD --rsp-file $HELIX_CORRELATION_PAYLOAD/CoreFX.issues.rsp
-
-
-
-
-
-
-
-
-
-
-
- SetStressModes_$(Scenario).cmd
- SetStressModes_$(Scenario).sh
-
-
-
-
-
-
- $(TestHostRootPath)$(TestEnvFileName)
-
-
-
- <_ProjectsToBuild Include="$(ProjectDir)src\coreclr\tests\testenvironment.proj">
- Scenario=$(Scenario);TestEnvFileName=$(TestEnvFilePath);TargetsWindows=$(TargetsWindows)
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_Scenario Include="$(Scenarios.Split(','))" />
- <_ProjectsToBuild Include="$(MSBuildProjectFile)">
- Scenario=%(_Scenario.Identity)
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_TargetGroup>netcoreapp
- <_AssetManifestPath>$(TestAssetBlobFeedUrl)/corefx-tests/$(MicrosoftPrivateCoreFxNETCoreAppVersion)/$(__BuildOS).$(__BuildArch)/$(_TargetGroup)/corefx-test-assets.xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @(HelixPreCommand)
-
-
-
- $(__BuildArch)
-
- $(BuildType)
- $(BuildType)-$(Scenario)
-
- CoreFX
- $(TestRunNamePrefix)$(BuildOS) $(BuildArch) $(BuildType) @
- $(TestRunNamePrefix)$(BuildOS) $(BuildArch) $(BuildType) $(Scenario) @
-
-
- $(_PublishTestResults)
- false
-
- true
- true
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(TestAssetBlobFeedUrl)/%(Identity)
- $(HelixCommand)
- $([System.TimeSpan]::FromMinutes($(TimeoutPerTestCollectionInMinutes)))
-
-
-
-
-
-
-
diff --git a/eng/liveBuilds.targets b/eng/liveBuilds.targets
new file mode 100644
index 00000000000000..b3b8688ca20019
--- /dev/null
+++ b/eng/liveBuilds.targets
@@ -0,0 +1,135 @@
+
+
+
+ $([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant)
+ $(OSGroup)
+ $(Configuration)
+ $(OSGroup)
+ $(Configuration)
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'coreclr', '$(CoreCLROSGroup).$(TargetArchitecture).$(CoreCLRConfiguration)'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'ref', 'microsoft.netcore.app', '$(LibrariesConfiguration)'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'ref', 'oob', '$(LibrariesConfiguration)'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'pkg', 'netcoreapp', 'runtime', '$(LibrariesOSGroup)-$(LibrariesConfiguration)-$(TargetArchitecture)'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'pkg', 'oob', 'runtime', '$(LibrariesOSGroup)-$(LibrariesConfiguration)-$(TargetArchitecture)'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'native', 'netcoreapp-$(LibrariesOSGroup)-$(LibrariesConfiguration)-$(TargetArchitecture)'))
+ $(CoreCLRArtifactsPathInTree)
+ $(LibrariesSharedFrameworkRefArtifactsPathInTree)
+ $(LibrariesOOBRefArtifactsPathInTree)
+ $(LibrariesSharedFrameworkBinArtifactsPathInTree)
+ $(LibrariesOOBBinArtifactsPathInTree)
+ $(LibrariesNativeArtifactsPathInTree)
+ x64
+ x86
+ x64
+
+
+
+
+ true
+
+
+
+
+
+
+
+ $([MSBuild]::NormalizeDirectory('$(CoreCLRArtifactsPath)'))
+
+
+ $([MSBuild]::NormalizeDirectory('$(CoreCLRArtifactsPath)','sharedFramework'))
+ $([MSBuild]::NormalizeDirectory('$(CoreCLRArtifactsPath)','$(CoreCLRCrossTargetComponentDir)','sharedFramework'))
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+ runtime/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)/native
+
+
+
+
+
+
+
+
+ true
+ true
+ true
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(RuntimeIdGraphDefinitionFile)
+ $(LiveRuntimeIdentifierGraphPath)
+
+
diff --git a/eng/packaging.props b/eng/packaging.props
index 2b76c44449ed6f..66d31a8d071043 100644
--- a/eng/packaging.props
+++ b/eng/packaging.props
@@ -3,7 +3,6 @@
$(PkgDir)descriptions.json
$(RepoRoot)LICENSE.TXT
$(RepoRoot)THIRD-PARTY-NOTICES.TXT
- $(PkgDir)Microsoft.NETCore.Platforms/runtime.json
https://go.microsoft.com/fwlink/?LinkID=799421
https://github.com/dotnet/corefx
$(CopyrightNetFoundation)
@@ -31,7 +30,7 @@
true
true
-
+
false
diff --git a/src/coreclr/build-test.cmd b/src/coreclr/build-test.cmd
index f126181d88b681..532487b9792eda 100644
--- a/src/coreclr/build-test.cmd
+++ b/src/coreclr/build-test.cmd
@@ -237,7 +237,7 @@ if not exist "%VSINSTALLDIR%DIA SDK" goto NoDIA
set __ExtraCmakeArgs="-DCMAKE_SYSTEM_VERSION=10.0"
call "%__SourceDir%\pal\tools\gen-buildsys.cmd" "%__ProjectFilesDir%" "%__NativeTestIntermediatesDir%" %__VSVersion% %__BuildArch% !__ExtraCmakeArgs!
-
+
if not !errorlevel! == 0 (
echo %__ErrMsgPrefix%%__MsgPrefix%Error: failed to generate native component build project!
exit /b 1
@@ -474,37 +474,6 @@ if errorlevel 1 (
xcopy /s /y /i "%CORE_ROOT_STAGE%" "%CORE_ROOT%"
-REM =========================================================================================
-REM ===
-REM === Create the test host necessary for running CoreFX tests.
-REM === The test host includes a dotnet executable, system libraries and CoreCLR assemblies found in CORE_ROOT.
-REM ===
-REM =========================================================================================
-
-echo %__MsgPrefix%Building CoreFX test host
-
-set __BuildLogRootName=Tests_CoreFX_Testhost
-set __BuildLog=%__LogsDir%\%__BuildLogRootName%_%__BuildOS%__%__BuildArch%__%__BuildType%.log
-set __BuildWrn=%__LogsDir%\%__BuildLogRootName%_%__BuildOS%__%__BuildArch%__%__BuildType%.wrn
-set __BuildErr=%__LogsDir%\%__BuildLogRootName%_%__BuildOS%__%__BuildArch%__%__BuildType%.err
-set __MsbuildLog=/flp:Verbosity=normal;LogFile="%__BuildLog%"
-set __MsbuildWrn=/flp1:WarningsOnly;LogFile="%__BuildWrn%"
-set __MsbuildErr=/flp2:ErrorsOnly;LogFile="%__BuildErr%"
-set __Logging=!__MsbuildLog! !__MsbuildWrn! !__MsbuildErr!
-
-powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__RepoRootDir%\eng\common\msbuild.ps1" %__ArcadeScriptArgs%^
- %__ProjectDir%\tests\src\runtest.proj /t:CreateTestHost /nodeReuse:false^
- /p:RestoreDefaultOptimizationDataPackage=false /p:PortableBuild=true^
- /p:UsePartialNGENOptimization=false /maxcpucount^
- !__Logging! %__CommonMSBuildArgs% %RuntimeIdArg% %__PriorityArg% %__UnprocessedBuildArgs%
-if errorlevel 1 (
- echo %__ErrMsgPrefix%%__MsgPrefix%Error: Create Test Host failed. Refer to the build log files for details:
- echo %__BuildLog%
- echo %__BuildWrn%
- echo %__BuildErr%
- exit /b 1
-)
-
REM =========================================================================================
REM ===
REM === Create test wrappers.
diff --git a/src/coreclr/build-test.sh b/src/coreclr/build-test.sh
index 3f0fc0634b5150..21af3fd3433960 100755
--- a/src/coreclr/build-test.sh
+++ b/src/coreclr/build-test.sh
@@ -132,16 +132,6 @@ generate_layout()
fi
}
-patch_corefx_libraries()
-{
- echo "${__MsgPrefix}Patching CORE_ROOT: '${CORE_ROOT}' with CoreFX libaries from enlistment '${__LocalCoreFXPath}"
-
- patchCoreFXArguments=("-clr_core_root" "${CORE_ROOT}" "-fx_root" "${__LocalCoreFXPath}" "-arch" "${__BuildArch}" "-build_type" "${__BuildType}")
- scriptPath="$__ProjectDir/tests/scripts"
- echo "python ${scriptPath}/patch-corefx.py ${patchCoreFXArguments[@]}"
- $__Python "${scriptPath}/patch-corefx.py" "${patchCoreFXArguments[@]}"
-}
-
precompile_coreroot_fx()
{
local overlayDir=$CORE_ROOT
@@ -231,22 +221,6 @@ function is_skip_crossgen_test {
return 1
}
-generate_testhost()
-{
- echo "${__MsgPrefix}Generating test host..."
-
- export TEST_HOST=$xUnitTestBinBase/testhost
-
- if [ -d "${TEST_HOST}" ]; then
- rm -rf $TEST_HOST
- fi
-
- mkdir -p $TEST_HOST
-
- build_MSBuild_projects "Tests_Generate_TestHost" "${__ProjectDir}/tests/src/runtest.proj" "Creating test host" "/t:CreateTestHost"
-}
-
-
build_Tests()
{
echo "${__MsgPrefix}Building Tests..."
@@ -372,10 +346,6 @@ build_Tests()
if [ $__SkipGenerateLayout != 1 ]; then
generate_layout
fi
-
- if [ ! -z "$__LocalCoreFXPath" ]; then
- patch_corefx_libraries
- fi
}
build_MSBuild_projects()
@@ -574,10 +544,9 @@ usage_list=("-buildtestwrappersonly - only build the test wrappers.")
usage_list+=("-copynativeonly: Only copy the native test binaries to the managed output. Do not build the native or managed tests.")
usage_list+=("-crossgen - Precompiles the framework managed assemblies in coreroot.")
usage_list+=("-generatelayoutonly - only pull down dependencies and build coreroot.")
-usage_list+=("-generatetesthostonly - only pull down dependencies and build coreroot and the CoreFX testhost.")
usage_list+=("-priority1 - include priority=1 tests in the build.")
usage_list+=("-runtests - run tests after building them.")
-usage_list+=("-skipgeneratelayout: Do not generate the Core_Root layout or the CoreFX testhost.")
+usage_list+=("-skipgeneratelayout: Do not generate the Core_Root layout.")
usage_list+=("-skiprestorepackages - skip package restore.")
# Obtain the location of the bash script to figure out where the root of the repo is.
@@ -630,16 +599,6 @@ handle_arguments() {
__SkipGenerateLayout=1
;;
- localcorefxpath)
- if [ -n "$2" ]; then
- __LocalCoreFXPath="$2"
- shift
- else
- echo "ERROR: 'localcorefxpath' requires a non-empty option argument"
- exit 1
- fi
- ;;
-
*)
__UnprocessedBuildArgs+=("$1")
;;
@@ -750,9 +709,6 @@ elif [ ! -z "$__BuildTestWrappersOnly" ]; then
build_test_wrappers
else
generate_layout
- if [ ! -z "$__GenerateTestHostOnly" ]; then
- generate_testhost
- fi
fi
if [ $? -ne 0 ]; then
diff --git a/src/coreclr/coreclr.proj b/src/coreclr/coreclr.proj
index 13218414dff063..421e049cebb64e 100644
--- a/src/coreclr/coreclr.proj
+++ b/src/coreclr/coreclr.proj
@@ -5,12 +5,12 @@
<_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows))" Include="-skiptests" />
- <_CoreClrBuildArg Include="-$(Platform)" />
+ <_CoreClrBuildArg Condition="'$(TargetArchitecture)' != ''" Include="-$(TargetArchitecture)" />
<_CoreClrBuildArg Include="-$(Configuration.ToLower())" />
<_CoreClrBuildArg Condition="'$(ContinuousIntegrationBuild)' == 'true'" Include="-ci" />
- <_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows)) and ('$(Platform)' == 'x86' or '$(Platform)' == 'x64') and '$(Configuration)' == 'Release'" Include="-enforcepgo" />
+ <_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows)) and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x64') and '$(Configuration)' == 'Release'" Include="-enforcepgo" />
<_CoreClrBuildArg Condition="!$([MSBuild]::IsOsPlatform(Windows)) and '$(Configuration)' == 'Release'" Include="-stripsymbols" />
- <_CoreClrBuildArg Condition="'$(OfficialBuildId)' == ''" Include="-officialbuildid=$(OfficialBuildId)" />
+ <_CoreClrBuildArg Condition="'$(OfficialBuildId)' != ''" Include="-officialbuildid=$(OfficialBuildId)" />
diff --git a/src/coreclr/dependencies.props b/src/coreclr/dependencies.props
index ee1a80d71879e8..6336b791dc5801 100644
--- a/src/coreclr/dependencies.props
+++ b/src/coreclr/dependencies.props
@@ -7,7 +7,6 @@
- 3.0.0-preview6.19280.1
1.0.0-beta-build0015
2.0.43
1.0.4-preview6.19326.1
@@ -35,12 +34,6 @@
https://raw.githubusercontent.com/dotnet/versions
-
-
- $(MSBuildThisFileFullPath)
- MicrosoftNETCoreRuntimeCoreCLRPackageVersion
- Microsoft.NETCore.Runtime.CoreCLR
-
diff --git a/src/coreclr/src/.nuget/packaging.props b/src/coreclr/src/.nuget/packaging.props
index 6d16a9848935cd..69365bcd15d35b 100644
--- a/src/coreclr/src/.nuget/packaging.props
+++ b/src/coreclr/src/.nuget/packaging.props
@@ -6,7 +6,6 @@
$(CoreclrDir)/LICENSE.TXT
$(CoreclrDir)/THIRD-PARTY-NOTICES.TXT
- $(NuGetPackageRoot)/microsoft.netcore.platforms/$(MicrosoftNETCorePlatformsVersion)/runtime.json
https://go.microsoft.com/fwlink/?LinkID=799421
https://dot.net
diff --git a/src/coreclr/tests/Directory.Build.props b/src/coreclr/tests/Directory.Build.props
index 77c129c9ccedcb..532dacb7e90403 100644
--- a/src/coreclr/tests/Directory.Build.props
+++ b/src/coreclr/tests/Directory.Build.props
@@ -10,7 +10,7 @@
true
-
+
@@ -51,27 +51,14 @@
false
-
- $(BaseIntermediateOutputPath)BuildVersion-$(OfficialBuildId).props
-
-
-
-
-
-
- $(StableVersion)
- $(PackageVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)
- /p:MicrosoftNETCoreRuntimeCoreCLRPackageVersion=$(VersionToRestore)
-
-
@@ -86,5 +73,5 @@
$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'host', 'fxr', '$(TestHostVersion)'))
$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(TestHostVersion)'))
-
+
diff --git a/src/coreclr/tests/build.proj b/src/coreclr/tests/build.proj
index ee9112a60804f5..091430dc951e0a 100644
--- a/src/coreclr/tests/build.proj
+++ b/src/coreclr/tests/build.proj
@@ -19,12 +19,9 @@
-
-
-
diff --git a/src/coreclr/tests/publishdependency.targets b/src/coreclr/tests/publishdependency.targets
index b32770001c5206..6096501eb5a773 100644
--- a/src/coreclr/tests/publishdependency.targets
+++ b/src/coreclr/tests/publishdependency.targets
@@ -23,18 +23,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
$(RootRepoDir)\artifacts\bin\coreclr\$(BuildOS).$(BuildArch).$(BuildType)
$(ProductDestination)\ref
diff --git a/src/coreclr/tests/scripts/patch-corefx.py b/src/coreclr/tests/scripts/patch-corefx.py
deleted file mode 100644
index bbc44c1af07737..00000000000000
--- a/src/coreclr/tests/scripts/patch-corefx.py
+++ /dev/null
@@ -1,263 +0,0 @@
-#!/usr/bin/env python3
-#
-# Licensed to the .NET Foundation under one or more agreements.
-# The .NET Foundation licenses this file to you under the MIT license.
-# See the LICENSE file in the project root for more information.
-#
-##########################################################################
-##########################################################################
-#
-# Module: patch-corefx.py
-#
-# Notes:
-#
-# Script to overwrite the nuget downloaded corefx libraries with ones
-# built from a local enlistment.
-#
-##########################################################################
-##########################################################################
-
-import argparse
-import distutils.dir_util
-import os
-import re
-import shutil
-import subprocess
-import sys
-
-##########################################################################
-# Globals
-##########################################################################
-
-testing = False
-
-# This should be factored out of build.sh
-Unix_name_map = {
- 'Linux': 'Linux',
- 'Darwin': 'OSX',
- 'FreeBSD': 'FreeBSD',
- 'OpenBSD': 'OpenBSD',
- 'NetBSD': 'NetBSD',
- 'SunOS': 'SunOS'
-}
-
-Is_windows = (os.name == 'nt')
-
-##########################################################################
-# Delete protocol
-##########################################################################
-
-def del_rw(action, name, exc):
- os.chmod(name, 0o651)
- os.remove(name)
-
-##########################################################################
-# Argument Parser
-##########################################################################
-
-description = 'Tool to patch CoreFx tests on the CoreCLR repo'
-
-parser = argparse.ArgumentParser(description=description)
-
-parser.add_argument('-arch', dest='arch', default='x64')
-parser.add_argument('-build_type', dest='build_type', default='Debug')
-parser.add_argument('-clr_core_root', dest='clr_core_root', default=None)
-parser.add_argument('-fx_root', dest='fx_root', default=None)
-
-
-##########################################################################
-# Helper Functions
-##########################################################################
-
-def validate_args(args):
- """ Validate all of the arguments parsed.
- Args:
- args (argparser.ArgumentParser): Args parsed by the argument parser.
- Returns:
- (arch, build_type, clr_core_root, fx_root,)
- (str, str, str, str)
- Notes:
- If the arguments are valid then return them all in a tuple. If not, raise
- an exception stating x argument is incorrect.
- """
-
- arch = args.arch
- build_type = args.build_type
- clr_core_root = args.clr_core_root
- fx_root = args.fx_root
-
- def validate_arg(arg, check):
- """ Validate an individual arg
- Args:
- arg (str|bool): argument to be validated
- check (lambda: x-> bool): test that returns either True or False
- : based on whether the check passes.
-
- Returns:
- is_valid (bool): Is the argument valid?
- """
-
- helper = lambda item: item is not None and check(item)
-
- if not helper(arg):
- raise Exception('Argument: %s is not valid.' % (arg))
-
- valid_archs = ['x86', 'x64', 'arm', 'arm64']
- valid_build_types = ['Debug', 'Checked', 'Release']
-
- arch = next((a for a in valid_archs if a.lower() == arch.lower()), arch)
- build_type = next((b for b in valid_build_types if b.lower() == build_type.lower()), build_type)
-
- validate_arg(arch, lambda item: item in valid_archs)
- validate_arg(build_type, lambda item: item in valid_build_types)
-
- if clr_core_root is None:
- raise Exception('No clr_core_root argument provided')
- else:
- clr_core_root = os.path.normpath(clr_core_root)
- validate_arg(clr_core_root, lambda item: os.path.isdir(clr_core_root))
-
- if fx_root is None:
- raise Exception('No fx_root argument provided')
- else:
- fx_root = os.path.normpath(fx_root)
-
- args = (arch, build_type, clr_core_root, fx_root)
-
- log('Configuration:')
- log(' arch: %s' % arch)
- log(' build_type: %s' % build_type)
- log(' clr_core_root: %s' % clr_core_root)
- log(' fx_root: %s' % fx_root)
-
- return args
-
-def log(message):
- """ Print logging information
- Args:
- message (str): message to be printed
- """
-
- print('[%s]: %s' % (sys.argv[0], message))
-
-def test_log(message):
- """ Print logging information only if testing mode is enabled
- Args:
- message (str): message to be printed
- """
- if testing:
- print('[%s]: %s' % (sys.argv[0], message))
-
-def copy_files(source_dir, target_dir):
- """ Copy any files in the source_dir to the target_dir.
- The copy is not recursive.
- The directories must already exist.
- Args:
- source_dir (str): source directory path
- target_dir (str): target directory path
- Returns:
- Nothing
- """
-
- global testing
- assert os.path.isdir(source_dir)
- assert testing or os.path.isdir(target_dir)
-
- for source_filename in os.listdir(source_dir):
- source_pathname = os.path.join(source_dir, source_filename)
- if os.path.isfile(source_pathname):
- target_pathname = os.path.join(target_dir, source_filename)
- log('Copy: %s => %s' % (source_pathname, target_pathname))
- if not testing:
- shutil.copy2(source_pathname, target_pathname)
-
-def patch_coreclr_root(core_root, fx_bin):
- """ Walk through the fx bin and patch corefx dlls to the core root.
- Args:
- core_root (str): the core root path
- fx_bin (str): the runtime folder from a corefx build
- Returns:
- nothing
- """
- test_log('Patching coreclr core_root')
-
- forbidden_names = ['coreclr.dll',
- 'system.private.corelib.dll',
- 'r2rdump.dll',
- 'runincontext.dll',
- 'mscordaccore.dll',
- 'linuxnonjit.dll',
- 'protononjit.dll',
- 'mscordbi.dll',
- 'clrjit.dll',
- 'dbgshim.dll',
- 'coreshim.dll',
- 'clrgc.dll',
- 'superpmi-shim-counter.dll',
- 'clretwrc.dll',
- 'superpmi-shim-collector.dll',
- 'superpmi-shim-simple.dll',
- 'jitinterface.dll',
- 'mscorrc.debug.dll',
- 'mscorrc.dll',
- 'sos.dll']
-
- test_log('forbidden_names = %s' % forbidden_names)
-
- for file in os.listdir(fx_bin):
- test_log('considering file %s' % file)
-
- filename = os.path.basename(file)
- comparename = filename.lower()
- if ( comparename.endswith('.dll') and
- comparename not in forbidden_names and
- not comparename.startswith('api-ms-core') ):
- source_pathname = os.path.join(fx_bin, filename)
- target_pathname = os.path.join(core_root, filename)
-
- test_log ('copying file %s to file %s' % (source_pathname, target_pathname))
-
- shutil.copy2(source_pathname, target_pathname)
-
-##########################################################################
-# Main
-##########################################################################
-
-def main(args):
- """
- The way this script decides what to patch is by looking at the core
- root for a list of dlls, then filtering out any ones built by coreclr.
- This leaves us with a list of non-coreclr build dlls. Now we can use
- that list to go through the corefx repo and any ones that also exist
- in the corefx bin folder are copied over.
- """
-
- log('Patching CoreFX binaries from local enlistment.')
-
- arch, build_type, clr_core_root, fx_root = validate_args(args)
-
- clr_os = 'Windows_NT' if Is_windows else Unix_name_map[os.uname()[0]]
-
- if not os.path.exists(clr_core_root):
- raise Exception('Core root path %s does not exist.' % (core_root))
-
- fx_bin = os.path.join(fx_root,
- 'artifacts',
- 'bin',
- 'runtime',
- 'netcoreapp-%s-%s-%s' % (clr_os, build_type, arch))
-
- if not os.path.exists(fx_bin):
- raise Exception('CoreFX bin path %s does not exist.' % (core_root))
-
- patch_coreclr_root(clr_core_root, fx_bin)
-
-
-##########################################################################
-# setup for Main
-##########################################################################
-
-if __name__ == '__main__':
- Args = parser.parse_args(sys.argv[1:])
-
- main(Args)
diff --git a/src/coreclr/tests/src/Common/CoreFX/CoreFX.csproj b/src/coreclr/tests/src/Common/CoreFX/CoreFX.csproj
deleted file mode 100644
index 36dccb97ada493..00000000000000
--- a/src/coreclr/tests/src/Common/CoreFX/CoreFX.csproj
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
- $(SourceDir)Common\CoreFX\obj
- C#
- netcoreapp3.0
- SharedLibrary
- false
- 1.0.5
- Library
- true
- Microsoft.NETCore.App.deps.json
- true
- false
- .NETCoreApp,Version=v3.0
- netcoreapp3.0
- true
- $(MicrosoftNETCoreAppVersion)
-
-
-
-
- win-$(Platform)
- linux-$(Platform)
- osx-$(Platform)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hostfxr
- dll
- dotnet.exe
- hostpolicy
- dll
-
-
-
- libhostfxr
- so
- dylib
- libhostpolicy
- $(HostFxrFileExtension)
- dotnet
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(SourceDir)Common\CoreFX\obj\project.assets.json
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/coreclr/tests/src/Common/Directory.Build.targets b/src/coreclr/tests/src/Common/Directory.Build.targets
index b613ab63368d3d..e589c1e48323af 100644
--- a/src/coreclr/tests/src/Common/Directory.Build.targets
+++ b/src/coreclr/tests/src/Common/Directory.Build.targets
@@ -11,20 +11,20 @@
DependsOnTargets="ResolveAssemblyReferences">
-
-
-
-
+
+
+
+
%(Identity)
-
-
-
+
+
+
-
-
-
- Debug
- AnyCPU
- BuildOnly
- false
-
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
-
- netcoreapp5.0
- .NETCoreApp
- win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
-
-
-
-
diff --git a/src/coreclr/tests/src/Common/targeting_pack_ref/targeting_pack_ref.csproj b/src/coreclr/tests/src/Common/targeting_pack_ref/targeting_pack_ref.csproj
deleted file mode 100644
index 3721bc537195d7..00000000000000
--- a/src/coreclr/tests/src/Common/targeting_pack_ref/targeting_pack_ref.csproj
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- BuildOnly
- false
-
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
-
- netcoreapp1.1
- .NETCoreApp
- win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
-
-
-
-
-
-
diff --git a/src/coreclr/tests/src/Common/test_dependencies/test_dependencies.csproj b/src/coreclr/tests/src/Common/test_dependencies/test_dependencies.csproj
index af83abd53df7b5..fe1d0ccf86d9b9 100644
--- a/src/coreclr/tests/src/Common/test_dependencies/test_dependencies.csproj
+++ b/src/coreclr/tests/src/Common/test_dependencies/test_dependencies.csproj
@@ -7,15 +7,11 @@
true
true
win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
+ $(BuildArch)
+ false
+ false
+ true
-
-
-
-
-
-
-
-
@@ -25,4 +21,11 @@
$(SourceDir)Common\test_dependencies\obj\project.assets.json
+
+
+
+
+
+
+
diff --git a/src/coreclr/tests/src/Common/test_runtime/test_runtime.csproj b/src/coreclr/tests/src/Common/test_runtime/test_runtime.csproj
index dbf6db252a49d7..abf800e5f2d4ec 100644
--- a/src/coreclr/tests/src/Common/test_runtime/test_runtime.csproj
+++ b/src/coreclr/tests/src/Common/test_runtime/test_runtime.csproj
@@ -9,15 +9,20 @@
$(NoWarn);NU1603
$(NoWarn);NU1701
true
+ true
-
-
+
+
+
+
+
+
diff --git a/src/coreclr/tests/src/Directory.Build.targets b/src/coreclr/tests/src/Directory.Build.targets
index 275d70b85fd767..e85c13f9dce8aa 100644
--- a/src/coreclr/tests/src/Directory.Build.targets
+++ b/src/coreclr/tests/src/Directory.Build.targets
@@ -44,8 +44,8 @@
-
-
+
+
<_CLRTestNeedsProjectToRun>false
<_CLRTestNeedsProjectToRun Condition=" '$(_CLRTestNeedsToRun)' and '!$(_CLRTestBuildsExecutable)' ">true
@@ -80,10 +80,10 @@
<_CopyNativeProjectBinaries Condition="'$(_WillCLRTestProjectBuild)' != 'true'">false
<_CopyNativeProjectBinaries Condition="'$(_CopyNativeProjectBinaries)' == ''">true
-
+
-
+
@@ -105,7 +105,7 @@
-
@@ -199,6 +199,12 @@
+
+
+
+
false
@@ -207,6 +213,13 @@
+
+
+
+
+
+
-
+
true
+
+ false
+ false
+ true
+ $(BuildArch)
+
+
+
+
diff --git a/src/coreclr/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj b/src/coreclr/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj
index c8ac76c7ac1245..0c7d448ed4fe84 100644
--- a/src/coreclr/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj
+++ b/src/coreclr/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj
@@ -24,8 +24,5 @@
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
diff --git a/src/coreclr/tests/src/dirs.proj b/src/coreclr/tests/src/dirs.proj
index c545e1c16140ec..b6dfdfa8f5f5d3 100644
--- a/src/coreclr/tests/src/dirs.proj
+++ b/src/coreclr/tests/src/dirs.proj
@@ -8,9 +8,7 @@
-
-
-
+
@@ -18,7 +16,6 @@
-
@@ -125,7 +122,7 @@
-
+
diff --git a/src/coreclr/tests/src/runtest.proj b/src/coreclr/tests/src/runtest.proj
index 60b711b12de38c..935a05c77e5f89 100644
--- a/src/coreclr/tests/src/runtest.proj
+++ b/src/coreclr/tests/src/runtest.proj
@@ -354,38 +354,15 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
-
-
-
-
- $(StableVersion)
- $(PackageVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)
- $(VersionToRestore)
-
-
-
- $(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
-
-
-
-
-
-
-
-
@@ -404,10 +381,6 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
Targets="CreateTestOverlay"
Condition=" '$(GenerateRuntimeLayout)'=='true' "/>
-
-
diff --git a/src/installer/Directory.Build.props b/src/installer/Directory.Build.props
index c26b17925b29ae..135cc3aef49365 100644
--- a/src/installer/Directory.Build.props
+++ b/src/installer/Directory.Build.props
@@ -2,12 +2,6 @@
-
-
-
diff --git a/src/installer/pkg/deps/deps.csproj b/src/installer/pkg/deps/deps.csproj
deleted file mode 100644
index f105b8f3826f70..00000000000000
--- a/src/installer/pkg/deps/deps.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netstandard1.0
-
-
-
-
-
-
-
diff --git a/src/installer/pkg/projects/Directory.Build.targets b/src/installer/pkg/projects/Directory.Build.targets
index b40cddb9dfd361..46319d4d1e34a6 100644
--- a/src/installer/pkg/projects/Directory.Build.targets
+++ b/src/installer/pkg/projects/Directory.Build.targets
@@ -336,4 +336,6 @@
-
\ No newline at end of file
+
+
+
diff --git a/src/installer/pkg/projects/netcoreapp/pkg/legacy/Microsoft.NETCore.App.Internal.pkgproj b/src/installer/pkg/projects/netcoreapp/pkg/legacy/Microsoft.NETCore.App.Internal.pkgproj
index 8a92a5716b84c0..bea575e85c83ba 100644
--- a/src/installer/pkg/projects/netcoreapp/pkg/legacy/Microsoft.NETCore.App.Internal.pkgproj
+++ b/src/installer/pkg/projects/netcoreapp/pkg/legacy/Microsoft.NETCore.App.Internal.pkgproj
@@ -18,5 +18,10 @@
false
+
+
+
+
+
diff --git a/src/installer/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj b/src/installer/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj
index 5a0d9501e728d9..d9d6f3423c3dda 100644
--- a/src/installer/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj
+++ b/src/installer/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj
@@ -20,7 +20,7 @@
-
+
diff --git a/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets b/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets
index 33d863469cb4ea..d6fe8055204f31 100644
--- a/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets
+++ b/src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets
@@ -1,134 +1,96 @@
-
-
-
-
+
+
- $([MSBuild]::NormalizeDirectory('$(CoreCLROverridePath)'))
+ <_winmdPackageDir>$(NuGetPackageRoot)$(MicrosoftTargetingPackPrivateWinRTPackage.ToLowerInvariant())/$(MicrosoftTargetingPackPrivateWinRTVersion)/
+ <_diaSymReaderPackageDir>$(NuGetPackageRoot)microsoft.diasymreader.native/$(MicrosoftDiaSymReaderNativeVersion)/
+
+
+
+ <_crossHostArch>x86
+
+
+ <_crossHostArch>x64
+
+
+ <_crossHostArch>x64
- x64
- x86
- x64
- $([MSBuild]::NormalizeDirectory('$(CoreCLROverridePath)','sharedFramework'))
- $([MSBuild]::NormalizeDirectory('$(CoreCLROverridePath)','$(CoreCLRCrossTargetComponentDir)','sharedFramework'))
+ <_crossDir Condition="'$(_crossHostArch)' != ''">/$(_crossHostArch)_$(TargetArchitecture)
-
-
-
-
-
- true
-
-
-
-
-
-
-
- runtime/$(RuntimeIdentifier)/native
-
-
-
- runtime/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)/native
-
-
-
-
-
-
+
+ <_requiredProperty Include="_winmdPackageDir" />
-
+
+
+
-
-
+
+
+
+ <_windowsWinMD Include="$(_winmdPackageDir)**/Windows.winmd" />
+ <_diaSymReaderAssembly Include="$(_diaSymReaderPackageDir)**\Microsoft.DiaSymReader.Native.*.dll" />
+
- $(CoreFXOverridePath)/specs/$(MicrosoftPrivateCoreFxNETCoreAppPackage).nuspec
- $(CoreFXOverridePath)/specs/runtime.$(PackageRID).$(MicrosoftPrivateCoreFxNETCoreAppPackage).nuspec
+ <_runtimeDirectory>$([MSBuild]::NormalizeDirectory('$(CoreCLRArtifactsPath)', 'sharedFramework'))
+ <_crossGenPath>$([MSBuild]::NormalizePath('$(CoreCLRArtifactsPath)', '$(CoreCLRCrossTargetComponentDirName)', 'sharedFramework', 'crossgen$(ApplicationFileExtension)'))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ <_coreLibDirectory>$(CoreCLRArtifactsPath)
+ <_fxLibDirectory>$(LibrariesSharedFrameworkBinArtifactsPath)
+
-
-
- @(CoreFXReferenceItems)
-
+
+ <_jitPath>$([MSBuild]::NormalizePath('$(CoreCLRArtifactsPath)', '$(CoreCLRCrossTargetComponentDirName)', 'sharedFramework', '$(LibraryFilePrefix)clrjit$(LibraryFileExtension)'))
+
-
-
+
+ <_windowsWinMDDirectory>%(_windowsWinMD.RootDir)%(_windowsWinMD.Directory)
+
-
- @(CoreFXReferenceCopyLocalItems)
-
+
+ <_diaSymReaderToolDir>%(_diaSymReaderAssembly.RootDir)%(_diaSymReaderAssembly.Directory)
+
-
- true
-
+
+
+ <_diaSymReaderToolDir>$(IntermediateOutputPath)
+
-
-
-
+
+
+
-
- <_coreFXOverrideDocFiles
- Condition="'$(CoreFXOverridePath)' != '' And '%(NuGetPackageId)' == '$(MicrosoftPrivateCoreFxNETCoreAppPackage)'"
- Include="@(OverriddenFrameworkReferenceFiles->'$(CoreFXOverridePath)/../../bin/docs/%(FileName).xml')" />
- <_docFilesToPackage Include="@(_coreFXOverrideDocFiles)" Condition="Exists('%(Identity)')" />
+
+
+ <_crossgenPlatformDirectories Include="%(_filesToCrossGen.RootDir)%(_filesToCrossGen.Directory)" />
+
+ <_crossgenPlatformDirectories Include="$(_runtimeDirectory)" />
+
+ <_crossgenPlatformDirectories Include="$(_coreLibDirectory)" />
+ <_crossgenPlatformDirectories Include="$(_fxLibDirectory)" />
-
-
-
- <_runtimeDirectory>$(CoreCLROverridePath)
- <_crossgenPath>$(CoreCLROverridePath)/crossgen$(ApplicationFileExtension)
- <_CoreLibSharedDirectory>$(CoreCLROverridePath)
- <_jitPath>$(CoreClrOverridePath)/$(_crossHostArch)/$(LibraryFilePrefix)clrjit$(LibraryFileExtension)
+
+
+ <_pathSeparatorEscaped>$([MSBuild]::Escape($([System.IO.Path]::PathSeparator.ToString())))
+ <_crossgenPlatformAssemblies>@(_crossgenPlatformDirectories->'%(Identity)', '$(_pathSeparatorEscaped)')
-
-
diff --git a/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj b/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj
index 91ea562a339c7c..ced5fb1500f081 100644
--- a/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj
+++ b/src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj
@@ -1,14 +1,17 @@
-
-
+
+
Microsoft.NETCore.App
+ true
+ false
+ Windows_NT
+ Linux
+ OSX
+ FreeBSD
+ $(CoreCLROSGroup)
-
-
-
-
@@ -18,11 +21,8 @@
-
+
-
-
-
-
- <_ToolsToPackage Include="$(_runtimePackageDir)tools/**/*.*"/>
-
- $(_runtimePackageId)
-
- $([System.String]::new('tools/%(RecursiveDir)').TrimEnd('/'))
- true
-
-
- runtimes$(_crossDir)/native
- true
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props
index dd2bcf6b76f45d..01abd76c661a53 100644
--- a/src/libraries/Directory.Build.props
+++ b/src/libraries/Directory.Build.props
@@ -100,7 +100,7 @@
false
-
+
true
@@ -166,6 +166,7 @@
<_packageRID Condition="'$(PortableBuild)' == 'true'">$(_portableOS)-$(ArchGroup)
$(_packageRID)
$(RuntimeOS)-$(ArchGroup)
+ $(ArchGroup)
@@ -179,6 +180,7 @@
true
true
+ true
-
+
false
$(NoWarn);nullable
-
+
diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets
index 08426497067e93..9eb22055ce2c70 100644
--- a/src/libraries/Directory.Build.targets
+++ b/src/libraries/Directory.Build.targets
@@ -7,7 +7,7 @@
-
+
@@ -70,16 +70,24 @@
$(BuildConfigurationRefPath)
$(RuntimePath)
-
+
$(NETCoreAppPackageRefPath)
$(NETCoreAppPackageRuntimePath)
- $(NETCoreAppPackageRuntimePath)\..\runtime
- $(RefRootPath)microsoft.netcore.app
+ $(ArtifactsBinDir)pkg\netcoreapp\runtime\$(_bc_OSGroup)-$(ConfigurationGroup)-$(ArchGroup)
+ $(RefRootPath)microsoft.netcore.app\$(ConfigurationGroup)
ILLinkTrimAssembly=true
+
+
+ $(RefRootPath)oob\$(ConfigurationGroup)
+
+
+ $(ArtifactsBinDir)pkg\oob\runtime\$(_bc_OSGroup)-$(ConfigurationGroup)-$(ArchGroup)
+
+
$(NETCoreAppTestSharedFrameworkPath)
diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj
index bfb02bccfcd639..28a73401c1ed64 100644
--- a/src/libraries/restore/runtime/runtime.depproj
+++ b/src/libraries/restore/runtime/runtime.depproj
@@ -5,22 +5,16 @@
$(ToolRuntimeRID)
$(NoWarn);NU1603;NU1605
true
+ true
+ $(DefaultOSGroup)
+ $(ConfigurationGroup)
-
-
- 3.0.0-rc2.19462.14
- 4.6.0-rc2.19462.14
-
-
-
-
-
@@ -43,7 +37,7 @@
hostfxr
libhostfxr
-
+
true
false
@@ -68,39 +62,16 @@
-
-
- $(CoreCLROverridePath)/PDB
-
-
-
-
-
-
-
-
-
-
-
- <_CoreLibFile Include="@(ReferenceCopyLocalPaths)" Condition="'%(FileName)' == 'System.Private.CoreLib'" />
-
-
- <_CoreLibFilePath>%(_CoreLibFile.FullPath)
- <_CoreLibPackagePath>$(_CoreLibFilePath.SubString(0, $(_CoreLibFilePath.IndexOf('runtimes'))))
-
-
-
+
-
-
+
@@ -115,5 +86,5 @@
-
+