diff --git a/eng/updateversions.proj b/eng/updateversions.proj
new file mode 100644
index 00000000000..891425227d0
--- /dev/null
+++ b/eng/updateversions.proj
@@ -0,0 +1,11 @@
+
+
+
+ true
+
+
+
+
+
+
+
diff --git a/eng/xplat-job.yml b/eng/xplat-job.yml
index f4240ec4092..0d8f2ee4ac9 100644
--- a/eng/xplat-job.yml
+++ b/eng/xplat-job.yml
@@ -108,7 +108,7 @@ jobs:
variables:
- name: buildConfig
value: ${{ parameters.buildConfig }}
-
+
- ${{ if eq(parameters.buildConfig, 'checked') }}:
- name: buildConfigUpper
value: 'Checked'
@@ -132,7 +132,7 @@ jobs:
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
-
+
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- name: _HelixSource
value: official/dotnet/coreclr/$(Build.SourceBranch)
diff --git a/src/coreclr/BuildToolsVersion.txt b/src/coreclr/BuildToolsVersion.txt
deleted file mode 100644
index 1c965ae3227..00000000000
--- a/src/coreclr/BuildToolsVersion.txt
+++ /dev/null
@@ -1 +0,0 @@
-3.0.0-preview4-04022-01
diff --git a/src/coreclr/DotnetCLIVersion.txt b/src/coreclr/DotnetCLIVersion.txt
deleted file mode 100644
index 5e908d682fa..00000000000
--- a/src/coreclr/DotnetCLIVersion.txt
+++ /dev/null
@@ -1 +0,0 @@
-2.1.301
diff --git a/src/coreclr/ILAsmVersion.txt b/src/coreclr/ILAsmVersion.txt
deleted file mode 100644
index 9d451b5b66f..00000000000
--- a/src/coreclr/ILAsmVersion.txt
+++ /dev/null
@@ -1 +0,0 @@
-3.0.0-preview6.19280.1
diff --git a/src/coreclr/UpdatePublishedVersions.ps1 b/src/coreclr/UpdatePublishedVersions.ps1
index cef54e53503..a69ebdc6c97 100644
--- a/src/coreclr/UpdatePublishedVersions.ps1
+++ b/src/coreclr/UpdatePublishedVersions.ps1
@@ -16,14 +16,12 @@ param(
# A pattern matching all packages in the set that the versions repository should be set to.
[Parameter(Mandatory=$true)][string]$nupkgPath)
-& "$PSScriptRoot\init-tools.cmd"
& "$PSScriptRoot\dotnet.cmd" msbuild /nologo /verbosity:minimal /clp:Summary /nodeReuse:false `
- /l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll`;LogFile=binclash.log `
/p:RestoreDefaultOptimizationDataPackage=false `
/p:PortableBuild=true `
/p:UsePartialNGENOptimization=false `
/maxcpucount `
- tests\build.proj /t:UpdatePublishedVersions `
+ "$PSScriptRoot\eng\updateversions.proj" /t:UpdatePublishedVersions `
/p:GitHubUser="$gitHubUser" `
/p:GitHubEmail="$gitHubEmail" `
/p:GitHubAuthToken="$gitHubAuthToken" `
diff --git a/src/coreclr/build-test.cmd b/src/coreclr/build-test.cmd
index cf0f1b85eaf..e63cfaaf9f6 100644
--- a/src/coreclr/build-test.cmd
+++ b/src/coreclr/build-test.cmd
@@ -129,7 +129,6 @@ if "%__TargetsWindows%"=="1" (
@if defined _echo @echo on
set __CommonMSBuildArgs=/p:__BuildOS=%__BuildOS% /p:__BuildType=%__BuildType% /p:__BuildArch=%__BuildArch%
-REM As we move from buildtools to arcade, __RunArgs should be replaced with __msbuildArgs
set __msbuildArgs=/p:__BuildOS=%__BuildOS% /p:__BuildType=%__BuildType% /p:__BuildArch=%__BuildArch% /nologo /verbosity:minimal /clp:Summary /maxcpucount
echo %__MsgPrefix%Commencing CoreCLR test build
@@ -172,10 +171,6 @@ REM === Restore Build Tools
REM ===
REM =========================================================================================
-call "%__ProjectDir%\init-tools.cmd"
-if NOT [%ERRORLEVEL%]==[0] (
- exit /b %ERRORLEVEL%
-)
@if defined _echo @echo on
set "__ToolsDir=%__ProjectDir%\Tools"
diff --git a/src/coreclr/build-test.sh b/src/coreclr/build-test.sh
index 71adae3efe4..f426da8e044 100755
--- a/src/coreclr/build-test.sh
+++ b/src/coreclr/build-test.sh
@@ -680,7 +680,6 @@ export __ProjectDir="$__ProjectRoot"
__SourceDir="$__ProjectDir/src"
__PackagesDir="$__ProjectDir/.packages"
__RootBinDir="$__ProjectDir/bin"
-__BuildToolsDir="$__ProjectDir/Tools"
__DotNetCli="$__ProjectDir/dotnet.sh"
__UnprocessedBuildArgs=
__CommonMSBuildArgs=
@@ -1028,9 +1027,6 @@ if [ $__PortableBuild == 0 ]; then
__CommonMSBuildArgs="$__CommonMSBuildArgs /p:PortableBuild=false"
fi
-# Restore Build Tools
-source $__ProjectRoot/init-tools.sh
-
if [[ (-z "$__GenerateLayoutOnly") && (-z "$__GenerateTestHostOnly") && (-z "$__BuildTestWrappersOnly") ]]; then
build_Tests
elif [ ! -z "$__BuildTestWrappersOnly" ]; then
diff --git a/src/coreclr/dependencies.props b/src/coreclr/dependencies.props
index 3209bfe66e9..604c1bb050a 100644
--- a/src/coreclr/dependencies.props
+++ b/src/coreclr/dependencies.props
@@ -17,7 +17,6 @@
5d3c9a7c54c1c59b764de0e2dfb6bbb4ce29476c
- 00797464e62272e9c721a1854abe49ff05743bdf
@@ -53,10 +52,6 @@
$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)
$(CoreClrCurrentRef)
-
- $(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)
- $(BuildToolsCurrentRef)
-
https://raw.githubusercontent.com/dotnet/versions
@@ -67,11 +62,6 @@
MicrosoftNETCoreRuntimeCoreCLRPackageVersion
Microsoft.NETCore.Runtime.CoreCLR
-
- File
- $(MSBuildThisFileDirectory)BuildToolsVersion.txt
- Microsoft.DotNet.BuildTools
-
File
$(MSBuildThisFileDirectory)ILAsmVersion.txt
diff --git a/src/coreclr/dir.common.props b/src/coreclr/dir.common.props
index fd0938364b4..d3bd53bfd2c 100644
--- a/src/coreclr/dir.common.props
+++ b/src/coreclr/dir.common.props
@@ -32,8 +32,10 @@
Windows_NT
Linux
OSX
-
+
+
<__BuildOS>$(BuildOS)
+ <__BuildArch>$(BuildArch)
$(BuildType)
$(BuildArch)
diff --git a/src/coreclr/init-tools.cmd b/src/coreclr/init-tools.cmd
deleted file mode 100644
index e525e5d0c92..00000000000
--- a/src/coreclr/init-tools.cmd
+++ /dev/null
@@ -1,129 +0,0 @@
-@if not defined _echo @echo off
-setlocal
-
-:: Clear the 'Platform' environment variable for this session
-:: This avoids overriding the default value from BuildTools projects used for initialization
-set Platform=
-
-set INIT_TOOLS_LOG=%~dp0init-tools.log
-if [%PACKAGES_DIR%]==[] set PACKAGES_DIR=%~dp0.packages
-if [%TOOLRUNTIME_DIR%]==[] set TOOLRUNTIME_DIR=%~dp0Tools
-set DOTNET_PATH=%~dp0.dotnet\
-if [%DOTNET_CMD%]==[] set DOTNET_CMD=%DOTNET_PATH%dotnet.exe
-if [%BUILDTOOLS_SOURCE%]==[] set BUILDTOOLS_SOURCE=https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
-set /P BUILDTOOLS_VERSION=< "%~dp0BuildToolsVersion.txt"
-set BUILD_TOOLS_PATH=%PACKAGES_DIR%\Microsoft.DotNet.BuildTools\%BUILDTOOLS_VERSION%\lib
-set INIT_TOOLS_RESTORE_PROJECT=%~dp0init-tools.msbuild
-set BUILD_TOOLS_SEMAPHORE_DIR=%TOOLRUNTIME_DIR%\%BUILDTOOLS_VERSION%
-set BUILD_TOOLS_SEMAPHORE=%BUILD_TOOLS_SEMAPHORE_DIR%\init-tools.completed
-
-:: if force option is specified then clean the tool runtime and build tools package directory to force it to get recreated
-if [%1]==[force] (
- if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"
- if exist "%PACKAGES_DIR%\Microsoft.DotNet.BuildTools" rmdir /S /Q "%PACKAGES_DIR%\Microsoft.DotNet.BuildTools"
-)
-
-:: If semaphore exists do nothing
-if exist "%BUILD_TOOLS_SEMAPHORE%" (
- echo Tools are already initialized.
- goto :EOF
-)
-
-if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"
-
-if exist "%DotNetBuildToolsDir%" (
- echo Using tools from '%DotNetBuildToolsDir%'.
- mklink /j "%TOOLRUNTIME_DIR%" "%DotNetBuildToolsDir%"
-
- if not exist "%DOTNET_CMD%" (
- echo %__ErrMsgPrefix%ERROR: Ensure that '%DotNetBuildToolsDir%' contains the .NET Core SDK at '%DOTNET_PATH%'
- exit /b 1
- )
-
- echo Done initializing tools.
- if NOT exist "%BUILD_TOOLS_SEMAPHORE_DIR%" mkdir "%BUILD_TOOLS_SEMAPHORE_DIR%"
- echo Using tools from '%DotNetBuildToolsDir%'. > "%BUILD_TOOLS_SEMAPHORE%"
- exit /b 0
-)
-
-echo Running %0 > "%INIT_TOOLS_LOG%"
-
-set /p DOTNET_VERSION=< "%~dp0DotnetCLIVersion.txt"
-if exist "%DOTNET_CMD%" goto :afterdotnetrestore
-
-REM Use x86 tools on arm64 and x86.
-REM arm32 host is not currently supported, please crossbuild.
-if /i "%PROCESSOR_ARCHITECTURE%" == "arm" (
- echo %__ErrMsgPrefix%ERROR: arm32 arch not supported for build tools.
- exit /b 1
-)
-
-if /i "%PROCESSOR_ARCHITECTURE%" == "amd64" (
- set _Arch=x64
- goto ArchSet
-)
-
-REM If this is not amd64 and not arm, then we should be running on arm64 or x86
-REM either way we can (and should) use the x86 dotnet cli
-REM
-REM TODO: consume native arm64 toolset, blocked by official arm64 windows cli
-REM : release. See https://github.com/dotnet/coreclr/issues/19614 for more
-REM : information
-set _Arch=x86
-
-echo "init-tools.cmd: Setting arch to %_Arch% for build tools"
-
-:ArchSet
-
-if NOT exist "%DOTNET_CMD%" (
- call %~dp0init-dotnet.cmd
- if NOT exist "%DOTNET_CMD%" (
- echo %__ErrMsgPrefix%ERROR: Could not install dotnet cli correctly. Expected to be installed at %DOTNET_CMD% 1>&2
- goto :error
- )
-)
-
-:afterdotnetrestore
-
-REM We do not need the build tools for arm64/x86
-if /i "%PROCESSOR_ARCHITEW6432%" == "arm64" (
- goto :EOF
-)
-
-if /i "%PROCESSOR_ARCHITECTURE%" == "arm64" (
- goto :EOF
-)
-
-if exist "%BUILD_TOOLS_PATH%" goto :afterbuildtoolsrestore
-echo Restoring BuildTools version %BUILDTOOLS_VERSION%...
-echo Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages "%PACKAGES_DIR%" --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
-call "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages "%PACKAGES_DIR%" --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
-if NOT exist "%BUILD_TOOLS_PATH%\init-tools.cmd" (
- echo %__ErrMsgPrefix%ERROR: Could not restore build tools correctly. 1>&2
- goto :error
-)
-
-:afterbuildtoolsrestore
-
-:: Ask init-tools to also restore ILAsm
-set /p ILASMCOMPILER_VERSION=< "%~dp0ILAsmVersion.txt"
-
-echo Initializing BuildTools...
-echo Running: "%BUILD_TOOLS_PATH%\init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
-call "%BUILD_TOOLS_PATH%\init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" "%PACKAGES_DIR%" >> "%INIT_TOOLS_LOG%"
-set INIT_TOOLS_ERRORLEVEL=%ERRORLEVEL%
-if not [%INIT_TOOLS_ERRORLEVEL%]==[0] (
- echo %__ErrMsgPrefix%ERROR: An error occurred when trying to initialize the tools. 1>&2
- goto :error
-)
-
-:: Create semaphore file
-echo Done initializing tools.
-if NOT exist "%BUILD_TOOLS_SEMAPHORE_DIR%" mkdir "%BUILD_TOOLS_SEMAPHORE_DIR%"
-echo Init-Tools.cmd completed for BuildTools Version: %BUILDTOOLS_VERSION% > "%BUILD_TOOLS_SEMAPHORE%"
-exit /b 0
-
-:error
-echo Please check the detailed log that follows. 1>&2
-type "%INIT_TOOLS_LOG%" 1>&2
-exit /b 1
diff --git a/src/coreclr/init-tools.msbuild b/src/coreclr/init-tools.msbuild
deleted file mode 100644
index e209e429636..00000000000
--- a/src/coreclr/init-tools.msbuild
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- netcoreapp1.0
- false
- true
- $(ToolsDir)/$(BuildToolsPackageVersion)
- $(PackageTargetFallback);netframework
-
-
-
-
- $(BuildToolsPackageVersion)
-
-
- $(ILLinkTasksPackageVersion)
-
-
-
diff --git a/src/coreclr/init-tools.sh b/src/coreclr/init-tools.sh
deleted file mode 100755
index b39e7449f6e..00000000000
--- a/src/coreclr/init-tools.sh
+++ /dev/null
@@ -1,191 +0,0 @@
-#!/usr/bin/env bash
-
-__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
-__init_tools_log="$__scriptpath/init-tools.log"
-__PACKAGES_DIR="$__scriptpath/.packages"
-__TOOLRUNTIME_DIR="$__scriptpath/Tools"
-__DOTNET_PATH="$__scriptpath/.dotnet"
-__DOTNET_CMD="$__DOTNET_PATH/dotnet"
-if [ -z "${__BUILDTOOLS_SOURCE:-}" ]; then __BUILDTOOLS_SOURCE=https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json; fi
-export __BUILDTOOLS_USE_CSPROJ=true
-__BUILD_TOOLS_PACKAGE_VERSION=$(cat "$__scriptpath/BuildToolsVersion.txt" | sed 's/\r$//') # remove CR if mounted repo on Windows drive
-__DOTNET_TOOLS_VERSION=$(cat "$__scriptpath/DotnetCLIVersion.txt" | sed 's/\r$//') # remove CR if mounted repo on Windows drive
-__ILASM_VERSION=$(cat "$__scriptpath/ILAsmVersion.txt" | sed 's/\r$//') # remove CR if mounted repo on Windows drive
-__BUILD_TOOLS_PATH="$__PACKAGES_DIR/microsoft.dotnet.buildtools/$__BUILD_TOOLS_PACKAGE_VERSION/lib"
-__INIT_TOOLS_RESTORE_PROJECT="$__scriptpath/init-tools.msbuild"
-__BUILD_TOOLS_SEMAPHORE="$__TOOLRUNTIME_DIR/$__BUILD_TOOLS_PACKAGE_VERSION/init-tools.complete"
-
-if [ -e "$__BUILD_TOOLS_SEMAPHORE" ]; then
- echo "Tools are already initialized"
- return #return instead of exit because this script is inlined in other scripts which we don't want to exit
-fi
-
-if [ -e "$__TOOLRUNTIME_DIR" ]; then rm -rf -- "$__TOOLRUNTIME_DIR"; fi
-
-if [ -d "${DotNetBuildToolsDir:-}" ]; then
- echo "Using tools from '$DotNetBuildToolsDir'."
- ln -s "$DotNetBuildToolsDir" "$__TOOLRUNTIME_DIR"
-
- if [ ! -e "$__DOTNET_CMD" ]; then
- echo "${__ErrMsgPrefix}ERROR: Ensure that $DotNetBuildToolsDir contains the .NET Core SDK at $__DOTNET_PATH"
- exit 1
- fi
-
- echo "Done initializing tools."
- mkdir -p "$(dirname "$__BUILD_TOOLS_SEMAPHORE")" && touch "$__BUILD_TOOLS_SEMAPHORE"
- return #return instead of exit because this script is inlined in other scripts which we don't want to exit
-fi
-
-echo "Running: $__scriptpath/init-tools.sh" > "$__init_tools_log"
-
-display_error_message()
-{
- echo "Please check the detailed log that follows." 1>&2
- cat "$__init_tools_log" 1>&2
-}
-
-# Executes a command and retries if it fails.
-execute_with_retry() {
- local count=0
- local retries=${retries:-5}
- local waitFactor=${waitFactor:-6}
- until "$@"; do
- local exit=$?
- count=$(( $count + 1 ))
- if [ $count -lt $retries ]; then
- local wait=$(( waitFactor ** (( count - 1 )) ))
- echo "Retry $count/$retries exited $exit, retrying in $wait seconds..."
- sleep $wait
- else
- say_err "Retry $count/$retries exited $exit, no more retries left."
- return $exit
- fi
- done
-
- return 0
-}
-
-if [ "$(uname -m | grep "i[3456]86")" = "i686" ]; then
- echo "Warning: build not supported on 32 bit Unix"
-fi
-
-if [ "$(uname -m)" = "armhf" ] || [ "$(uname -m)" = "arm64" ] || [ "$(uname -m)" = "aarch64" ]; then
- if [ "$(uname -m)" = "armhf" ]; then
- __PKG_ARCH=arm
- fi
-
- if [ "$(uname -m)" = "arm64" ] || [ "$(uname -m)" = "aarch64" ]; then
- __PKG_ARCH=arm64
- fi
-else
- __PKG_ARCH=x64
-fi
-
-OSName=$(uname -s)
-case $OSName in
- Darwin)
- OS=OSX
- __PKG_RID=osx
- ulimit -n 2048
- # Format x.y.z as single integer with three digits for each part
- VERSION=`sw_vers -productVersion| sed -e 's/\./ /g' | xargs printf "%03d%03d%03d"`
- if [ "$VERSION" -lt 010012000 ]; then
- echo ${__ErrMsgPrefix}ERROR: macOS version `sw_vers -productVersion` is too old. 10.12 is needed as minimum.
- exit 1
- fi
- ;;
- FreeBSD)
- __PKG_RID=freebsd
- OS=FreeBSD
- ;;
- Linux)
- __PKG_RID=linux
- OS=Linux
-
- if [ -e /etc/os-release ]; then
- source /etc/os-release
- if [[ $ID == "alpine" ]]; then
- __PKG_RID=linux-musl
- fi
- elif [ -e /etc/redhat-release ]; then
- redhatRelease=$(> "$__init_tools_log"
- "$__DOTNET_CMD" restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages "$__PACKAGES_DIR" --source "$__BUILDTOOLS_SOURCE" /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION /p:ToolsDir="$__TOOLRUNTIME_DIR" >> "$__init_tools_log"
- if [ ! -e "$__BUILD_TOOLS_PATH/init-tools.sh" ]; then
- echo "${__ErrMsgPrefix}ERROR: Could not restore build tools correctly." 1>&2
- display_error_message
- fi
-fi
-
-if [ -z "${__ILASM_RID-}" ]; then
- __ILASM_RID=$__PKG_RID
-fi
-
-echo "Using RID $__ILASM_RID for BuildTools native tools"
-
-export ILASMCOMPILER_VERSION=$__ILASM_VERSION
-export NATIVE_TOOLS_RID=$__ILASM_RID
-
-if [ -n "${DotNetBootstrapCliTarPath-}" ]; then
- # Assume ilasm is not in nuget yet when bootstrapping...
- unset ILASMCOMPILER_VERSION
-fi
-
-# Build tools only supported on x64
-if [ "${__PKG_ARCH}" != "x64" ] && [ "${__PKG_ARCH}" != "arm" ]; then
- echo "Skipped installing build tools."
-else
- echo "Initializing BuildTools..."
- echo "Running: $__BUILD_TOOLS_PATH/init-tools.sh $__scriptpath $__DOTNET_CMD $__TOOLRUNTIME_DIR $__PACKAGES_DIR" >> "$__init_tools_log"
-
- # Executables restored with .NET Core 2.0 do not have executable permission flags. https://github.com/NuGet/Home/issues/4424
- chmod +x "$__BUILD_TOOLS_PATH/init-tools.sh"
- "$__BUILD_TOOLS_PATH/init-tools.sh" "$__scriptpath" "$__DOTNET_CMD" "$__TOOLRUNTIME_DIR" "$__PACKAGES_DIR" >> "$__init_tools_log"
- if [ "$?" != "0" ]; then
- echo "${__ErrMsgPrefix}ERROR: An error occurred when trying to initialize the tools." 1>&2
- display_error_message
- exit 1
- fi
-
- echo "Making all .sh files executable under Tools."
- # Executables restored with .NET Core 2.0 do not have executable permission flags. https://github.com/NuGet/Home/issues/4424
- ls "$__scriptpath/Tools/"*.sh | xargs chmod +x
- ls "$__scriptpath/Tools/scripts/docker/"*.sh | xargs chmod +x
-
- "$__scriptpath/Tools/crossgen.sh" "$__scriptpath/Tools" $__PKG_RID
-
- mkdir -p "$(dirname "$__BUILD_TOOLS_SEMAPHORE")" && touch "$__BUILD_TOOLS_SEMAPHORE"
-
- echo "Done initializing tools."
-fi
diff --git a/src/coreclr/src/corefx/format-code.sh b/src/coreclr/src/corefx/format-code.sh
index c0898f21259..37dcc05577f 100755
--- a/src/coreclr/src/corefx/format-code.sh
+++ b/src/coreclr/src/corefx/format-code.sh
@@ -11,7 +11,7 @@ else
exit 1
fi
-cd $(dirname "$0")
+cd $(dirname "${BASH_SOURCE[0]}")
for D in */; do
for file in "${D}"*.cpp; do
diff --git a/src/coreclr/src/pal/src/libunwind/autogen.sh b/src/coreclr/src/pal/src/libunwind/autogen.sh
index b08bc831f64..aad9de6615c 100755
--- a/src/coreclr/src/pal/src/libunwind/autogen.sh
+++ b/src/coreclr/src/pal/src/libunwind/autogen.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=`dirname "${BASH_SOURCE[0]}"`
test -n "$srcdir" || srcdir=.
(
cd "$srcdir" &&
diff --git a/src/coreclr/tests/bringup_runtest.sh b/src/coreclr/tests/bringup_runtest.sh
index 23b457624f0..01af81657e4 100755
--- a/src/coreclr/tests/bringup_runtest.sh
+++ b/src/coreclr/tests/bringup_runtest.sh
@@ -448,7 +448,6 @@ function create_testhost
fi
# Initialize test variables
- local buildToolsDir=$coreClrSrc/Tools
local dotnetExe=$coreClrSrc/dotnet.sh
local coreClrSrcTestDir=$coreClrSrc/tests
@@ -616,14 +615,14 @@ function read_array {
function load_unsupported_tests {
# Load the list of tests that are not supported on this platform. These tests are disabled (skipped) permanently.
- unsupportedTests=($(read_array "$(dirname "$0")/testsUnsupportedOutsideWindows.txt"))
- unsupportedTests+=($(read_array "$(dirname "$0")/testsUnsupported.$ARCH.txt"))
+ unsupportedTests=($(read_array "$(dirname "${BASH_SOURCE[0]}")/testsUnsupportedOutsideWindows.txt"))
+ unsupportedTests+=($(read_array "$(dirname "${BASH_SOURCE[0]}")/testsUnsupported.$ARCH.txt"))
}
function load_failing_tests {
# Load the list of tests that fail on this platform. These tests are disabled (skipped) temporarily, pending investigation.
- failingTests=($(read_array "$(dirname "$0")/testsFailingOutsideWindows.txt"))
- failingTests+=($(read_array "$(dirname "$0")/testsFailing.$ARCH.txt"))
+ failingTests=($(read_array "$(dirname "${BASH_SOURCE[0]}")/testsFailingOutsideWindows.txt"))
+ failingTests+=($(read_array "$(dirname "${BASH_SOURCE[0]}")/testsFailing.$ARCH.txt"))
}
function load_playlist_tests {
diff --git a/src/coreclr/tests/build.proj b/src/coreclr/tests/build.proj
index 4fd840c92b0..0be56b219d2 100644
--- a/src/coreclr/tests/build.proj
+++ b/src/coreclr/tests/build.proj
@@ -15,7 +15,6 @@
BatchRestorePackages;
- BuildTargetingPack;
$(TraversalBuildDependsOn);
@@ -31,12 +30,17 @@
+
+
+
+
-
+
@@ -51,8 +55,14 @@
-
-
+
+ $(ProjectDir)..\.dotnet\
+ $(DotnetCliPath)dotnet
+ $(DotnetCliPath)dotnet.exe
+ $(DotnetToolPath) restore $(RestoreProj) $(PackageVersionArg) /p:SetTFMForRestore=true
+ $(DotnetToolPath) restore -r $(__DistroRid) $(RestoreProj) $(PackageVersionArg) /p:SetTFMForRestore=true
+
+
diff --git a/src/coreclr/tests/dir.common.props b/src/coreclr/tests/dir.common.props
index 58102f7169e..9a459ee30c0 100644
--- a/src/coreclr/tests/dir.common.props
+++ b/src/coreclr/tests/dir.common.props
@@ -4,7 +4,7 @@
diff --git a/src/coreclr/tests/dir.props b/src/coreclr/tests/dir.props
index 5e31468e4ce..1363ffa40ff 100644
--- a/src/coreclr/tests/dir.props
+++ b/src/coreclr/tests/dir.props
@@ -7,43 +7,15 @@
true
-
-
- false
- true
- false
- true
- $(BuildToolsTargetsDesktop)
+
true
- true
- false
$(MSBuildThisFileDirectory)
$(ProjectDir)src\
$(ProjectDir)..\.packages\
- $(ProjectDir)..\Tools\
- $(ProjectDir)..\.dotnet\
- $(ToolsDir)net46\
- $(DotnetCliPath)dotnet
-
- <_TargetFrameworkDirectories Condition="'$(BuildToolsTargetsDesktop)' != 'true'">$(MSBuildThisFileDirectory)/Documentation
- <_FullFrameworkReferenceAssemblyPaths Condition="'$(BuildToolsTargetsDesktop)' != 'true'">$(MSBuildThisFileDirectory)/Documentation
- true
@@ -59,14 +31,6 @@
$(__AltJitArch)
-
-
-
- netcoreapp1.0
- $(DefaultTestTFM)
- $(DefaultTestTFM)
-
-
-
-
@@ -99,9 +60,6 @@
-
-
-
false
diff --git a/src/coreclr/tests/dir.sdkbuild.props b/src/coreclr/tests/dir.sdkbuild.props
index 218b16e273a..56254176998 100644
--- a/src/coreclr/tests/dir.sdkbuild.props
+++ b/src/coreclr/tests/dir.sdkbuild.props
@@ -3,7 +3,7 @@
+ and old-style projects should go in dir.common.props. -->
netcoreapp3.0
@@ -11,9 +11,6 @@
false
false
$(BuildArch)
-
-
- 99.0
false
diff --git a/src/coreclr/tests/dir.targets b/src/coreclr/tests/dir.targets
index f4d8e2b9cde..13e7a77c646 100644
--- a/src/coreclr/tests/dir.targets
+++ b/src/coreclr/tests/dir.targets
@@ -1,15 +1,11 @@
-
-
-
-
-
+
-
+
+
diff --git a/src/coreclr/tests/disableversioncheck.targets b/src/coreclr/tests/disableversioncheck.targets
new file mode 100644
index 00000000000..b1635a202f5
--- /dev/null
+++ b/src/coreclr/tests/disableversioncheck.targets
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 99.0
+
+
+
+
diff --git a/src/coreclr/tests/publishdependency.targets b/src/coreclr/tests/publishdependency.targets
index 453e8f2a647..d775541c81f 100644
--- a/src/coreclr/tests/publishdependency.targets
+++ b/src/coreclr/tests/publishdependency.targets
@@ -1,7 +1,6 @@
-
netcoreapp5.0
@@ -9,7 +8,6 @@
-
$(__BuildArch)
x64
win7
@@ -18,8 +16,11 @@
-
-
+
+
+
@@ -39,122 +40,10 @@
$(ProductDestination)\ref
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- %(Identity)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/src/coreclr/tests/runtest.proj b/src/coreclr/tests/runtest.proj
index 565daa80433..55e0a6e6ef6 100644
--- a/src/coreclr/tests/runtest.proj
+++ b/src/coreclr/tests/runtest.proj
@@ -373,7 +373,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
+ Properties="Language=C#;TargetRid=$(TargetRid);RuntimeIdentifier=$(TargetRid)" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_sharedFrameworkDepsJson Include="$(DotnetCliPath)\shared\Microsoft.NETCore.App\*\Microsoft.NETCore.App.deps.json" />
-
-
-
- <_OriginalDepsJsonPath>%(_sharedFrameworkDepsJson.FullPath)
- <_OutputTestSharedFrameworkDepsPath>$(NETCoreAppTestSharedFrameworkPath)\Microsoft.NETCore.App.deps.json
-
-
-
diff --git a/src/coreclr/tests/runtest.py b/src/coreclr/tests/runtest.py
index ab10fe180c2..41b4f41579e 100755
--- a/src/coreclr/tests/runtest.py
+++ b/src/coreclr/tests/runtest.py
@@ -1457,8 +1457,7 @@ def setup_core_root(host_os,
if host_os != "Windows_NT":
os.environ["__DistroRid"] = "%s-%s" % ("osx" if sys.platform == "darwin" else "linux", arch)
- command = [dotnetcli_location, "msbuild", "/nologo", "/verbosity:minimal", "/clp:Summary",
- "\"/l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log\""]
+ command = [dotnetcli_location, "msbuild", "/nologo", "/verbosity:minimal", "/clp:Summary"]
if host_os == "Windows_NT":
command += ["/nodeReuse:false"]
@@ -1522,8 +1521,7 @@ def setup_core_root(host_os,
os.environ["Core_Root"] = core_root
os.environ["xUnitTestBinBase"] = os.path.dirname(os.path.dirname(core_root))
- command = [dotnetcli_location, "msbuild", "/nologo", "/verbosity:minimal", "/clp:Summary",
- "\"/l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log\""]
+ command = [dotnetcli_location, "msbuild", "/nologo", "/verbosity:minimal", "/clp:Summary"]
if host_os == "Windows_NT":
command += ["/nodeReuse:false"]
diff --git a/src/coreclr/tests/scripts/scripts.csproj b/src/coreclr/tests/scripts/scripts.csproj
index e803a60a37b..19e7031af51 100644
--- a/src/coreclr/tests/scripts/scripts.csproj
+++ b/src/coreclr/tests/scripts/scripts.csproj
@@ -24,9 +24,6 @@
netstandard1.3
.NETStandard
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- true
- false
win7-x86;win7-x64
false
diff --git a/src/coreclr/tests/setup-stress-dependencies.cmd b/src/coreclr/tests/setup-stress-dependencies.cmd
index 49ee0e2ffa1..a5b2bbc2be5 100644
--- a/src/coreclr/tests/setup-stress-dependencies.cmd
+++ b/src/coreclr/tests/setup-stress-dependencies.cmd
@@ -52,16 +52,10 @@ REM === Check if dotnet CLI and necessary directories exist
REM ===
REM =========================================================================================
-set __DotNetToolDir=%__ThisScriptPath%..\Tools
set __DotNetCmd=%__ThisScriptPath%..\dotnet.cmd
set __PackageDir=%__ThisScriptPath%..\.packages
set __CsprojPath=%__ThisScriptPath%\src\Common\stress_dependencies\stress_dependencies.csproj
-REM Check if dotnet cli exists
-if not exist "%__DotNetToolDir%" (
- echo Directory containing dotnet CLI does not exist: %__DotNetToolDir%
- goto Fail
-)
if not exist "%__DotNetCmd%" (
echo dotnet.exe does not exist: %__DotNetCmd%
goto Fail
diff --git a/src/coreclr/tests/setup-stress-dependencies.sh b/src/coreclr/tests/setup-stress-dependencies.sh
index 1fb26b5284e..007228ace19 100755
--- a/src/coreclr/tests/setup-stress-dependencies.sh
+++ b/src/coreclr/tests/setup-stress-dependencies.sh
@@ -90,9 +90,6 @@ fi
# This script must be located in coreclr/tests.
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-echo "Running init-tools.sh"
-"${scriptDir}"/../init-tools.sh
-
dotnet=$"${scriptDir}"/../.dotnet/dotnet
packageDir="${scriptDir}"/../.packages
csprojPath="${scriptDir}"/src/Common/stress_dependencies/stress_dependencies.csproj
diff --git a/src/coreclr/tests/src/CLRTest.Execute.Bash.targets b/src/coreclr/tests/src/CLRTest.Execute.Bash.targets
index c9e0e030439..3ab637d919e 100644
--- a/src/coreclr/tests/src/CLRTest.Execute.Bash.targets
+++ b/src/coreclr/tests/src/CLRTest.Execute.Bash.targets
@@ -281,8 +281,8 @@ $(BashLinkerTestCleanupCmds)
]]>
-
-
+
- Debug
- AnyCPU
TestLibrary
- 2.0
- {C8C0DC74-FAC4-45B1-81FE-70C4808366E0}
Library
- {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
..\..\
BuildOnly
$(DefineConstants);$([System.String]::Copy('$(BuildArch)').ToUpper())
true
false
-
-
-
-
-
+
+ netcoreapp5.0
+ $(SourceDir)Common\CoreCLRTestLibrary\obj\project.assets.json
@@ -34,5 +28,10 @@
+
+
+
diff --git a/src/coreclr/tests/src/Common/CoreFX/CoreFX.depproj b/src/coreclr/tests/src/Common/CoreFX/CoreFX.csproj
similarity index 75%
rename from src/coreclr/tests/src/Common/CoreFX/CoreFX.depproj
rename to src/coreclr/tests/src/Common/CoreFX/CoreFX.csproj
index 65a9a6f4ca0..80a5b268488 100644
--- a/src/coreclr/tests/src/Common/CoreFX/CoreFX.depproj
+++ b/src/coreclr/tests/src/Common/CoreFX/CoreFX.csproj
@@ -1,36 +1,33 @@
-
-
-
+
+
+
+
$(SourceDir)Common\CoreFX\obj
C#
- .NETCoreApp,Version=v5.0
- netcoreapp5.0
- true
+ 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)
- $(RuntimeIdentifier)
-
-
- /p:__BuildOS=$(__BuildOS) /p:__BuildType=$(__BuildType) /p:__BuildArch=$(__BuildArch)
+ win-$(Platform)
+ linux-$(Platform)
+ osx-$(Platform)
-
@@ -43,13 +40,19 @@
+
-
+
+
+
+
@@ -129,9 +132,16 @@
-
-
$(SourceDir)Common\CoreFX\obj\project.assets.json
+
+
+
+
+
+
+
+
+
diff --git a/src/coreclr/tests/src/Common/Coreclr.TestWrapper/Coreclr.TestWrapper.csproj b/src/coreclr/tests/src/Common/Coreclr.TestWrapper/Coreclr.TestWrapper.csproj
index 3af5fe93e9b..8764d8c6dca 100644
--- a/src/coreclr/tests/src/Common/Coreclr.TestWrapper/Coreclr.TestWrapper.csproj
+++ b/src/coreclr/tests/src/Common/Coreclr.TestWrapper/Coreclr.TestWrapper.csproj
@@ -1,18 +1,14 @@
-
-
-
-
-
-
+
true
+ $(SourceDir)Common\Coreclr.TestWrapper\obj\project.assets.json
+ .NETCoreApp,Version=v3.0
+ netcoreapp3.0
-
-
diff --git a/src/coreclr/tests/src/Common/Directory.Build.props b/src/coreclr/tests/src/Common/Directory.Build.props
deleted file mode 100644
index ea5280734f2..00000000000
--- a/src/coreclr/tests/src/Common/Directory.Build.props
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/src/coreclr/tests/src/Common/Directory.Build.targets b/src/coreclr/tests/src/Common/Directory.Build.targets
index 09cfd7a44e1..b613ab63368 100644
--- a/src/coreclr/tests/src/Common/Directory.Build.targets
+++ b/src/coreclr/tests/src/Common/Directory.Build.targets
@@ -1,8 +1,39 @@
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+ %(Identity)
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/coreclr/tests/src/Common/build_against_pkg_dependencies/build_against_pkg_dependencies.csproj b/src/coreclr/tests/src/Common/build_against_pkg_dependencies/build_against_pkg_dependencies.csproj
index 4e6969a44aa..8535a72d14a 100644
--- a/src/coreclr/tests/src/Common/build_against_pkg_dependencies/build_against_pkg_dependencies.csproj
+++ b/src/coreclr/tests/src/Common/build_against_pkg_dependencies/build_against_pkg_dependencies.csproj
@@ -27,10 +27,7 @@
netcoreapp5.0
.NETCoreApp
- $(PackageTargetFallback);portable-net45+win8
win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
- true
- false
+
+
+
+
+
+
+
+ $(MSBuildThisFileDirectory)obj
+ $(TargetingPackPath)
+ netcoreapp3.0
+ .NETCoreApp,Version=v3.0
+ netcoreapp3.0
+ win7-x86;win7-x64
+ xunit.runner.console
+ netcoreapp2.0
+ SharedLibrary
+ false
+ false
+ false
+ true
+ false
+ $(NoWarn);NU1701
+
+
+
+
+
+
+ <_nuGetDeploy Include="@(ReferenceCopyLocalPaths)">
+ %(Identity)
+
+
+ <_nuGetDeployByPackageId Include="@(_nuGetDeploy->'%(NuGetPackageId)')" />
+
+ <_nuGetDeployByPackageIdToRemove Include="@(_nuGetDeployByPackageId)" Exclude="@(PackageToInclude)" Condition="'@(PackageToInclude)' != ''" />
+ <_filteredNuGetDeployByPackageId Include="@(_nuGetDeployByPackageId)" Exclude="@(_nuGetDeployByPackageIdToRemove)" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(SourceDir)Common\external\obj\project.assets.json
+
+
+
+
+
+
+ false
+ $(XUnitRunnerPackageId)
+ $(XUnitPackageVersion)
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/coreclr/tests/src/Common/external/external.depproj b/src/coreclr/tests/src/Common/external/external.depproj
deleted file mode 100644
index 53197789bb0..00000000000
--- a/src/coreclr/tests/src/Common/external/external.depproj
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
- $(MSBuildThisFileDirectory)obj
- C#
- .NETCoreApp,Version=v1.1
- netcoreapp1.1
- win7-x64
- true
- $(TargetingPackPath)
- xunit.runner.console
- netcoreapp2.0
- SharedLibrary
- false
-
-
-
- 1.1.1
-
-
- 2.1.1-beta
-
-
- $(XunitPerformanceApiPackageVersion)
-
-
- $(XunitPerformanceApiPackageVersion)
-
-
- $(XunitPerformanceApiPackageVersion)
-
-
- $(XunitPerformanceApiPackageVersion)
-
-
- $(MicrosoftDiagnosticsTracingTraceEventPackageVersion)
-
-
- 12.0.1
-
-
- $(XunitPackageVersion)
-
-
- $(XunitPackageVersion)
-
-
- $(XunitPackageVersion)
-
-
-
- netcoreapp1.1
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- win7-x86;win7-x64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(SourceDir)Common\external\obj\project.assets.json
-
-
-
-
-
-
- false
- $(XUnitRunnerPackageId)
- $(XUnitPackageVersion)
-
-
-
-
diff --git a/src/coreclr/tests/src/Common/ilasm/ilasm.ilproj b/src/coreclr/tests/src/Common/ilasm/ilasm.ilproj
new file mode 100644
index 00000000000..187119cdc6b
--- /dev/null
+++ b/src/coreclr/tests/src/Common/ilasm/ilasm.ilproj
@@ -0,0 +1,11 @@
+
+
+
+
+
+ $(TargetRid)
+ $(SourceDir)Common\ilasm\obj\project.assets.json
+
+
+
diff --git a/src/coreclr/tests/src/Common/stress_dependencies/stress_dependencies.csproj b/src/coreclr/tests/src/Common/stress_dependencies/stress_dependencies.csproj
index 410c79561bf..bbed1ef68b7 100644
--- a/src/coreclr/tests/src/Common/stress_dependencies/stress_dependencies.csproj
+++ b/src/coreclr/tests/src/Common/stress_dependencies/stress_dependencies.csproj
@@ -1,28 +1,13 @@
-
-
-
+
- Debug
- AnyCPU
BuildOnly
- .NETCoreApp,Version=v2.0
- netcoreapp2.0
+ netcoreapp2.0
false
+ win-x64;ubuntu.14.04-x64;osx.10.10-x64;win-x86;ubuntu.14.04-x86;osx.10.10-x86
1.0.1-prerelease-*
-
- netcoreapp2.0
- .NETCoreApp
- $(PackageTargetFallback);dnxcore50
- win-x64;ubuntu.14.04-x64;osx.10.10-x64;win-x86;ubuntu.14.04-x86;osx.10.10-x86
- true
- false
-
-
-
\ No newline at end of file
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
index 50ba5430fa0..3f9cf5ed44b 100644
--- 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
@@ -15,10 +15,7 @@
netcoreapp1.1
.NETCoreApp
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
- true
- false
-
-
+
- Debug
- AnyCPU
BuildOnly
- .NETCoreApp,Version=v5.0
- netcoreapp5.0
false
+ netcoreapp3.0
+ netcoreapp5.0
+ true
+ true
+ win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
-
- $(MicrosoftPrivateCoreFxNETCoreAppVersion)
-
-
- $(MicrosoftDiagnosticsToolsRuntimeClientVersion)
-
+
+
+
+
+
+
+
+
+
+
- netcoreapp5.0
- .NETCoreApp
- $(PackageTargetFallback);dnxcore50;netcoreapp1.1;portable-net45+win8
- win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
- true
- false
+ $(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 455c5549ef2..c9b7ea5db9b 100644
--- a/src/coreclr/tests/src/Common/test_runtime/test_runtime.csproj
+++ b/src/coreclr/tests/src/Common/test_runtime/test_runtime.csproj
@@ -1,40 +1,26 @@
-
-
-
+
- Debug
- AnyCPU
BuildOnly
- .NETCoreApp,Version=v5.0
- netcoreapp5.0
false
+ netcoreapp3.0
+ netcoreapp5.0
+ win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
+ $(AssetTargetFallback);dnxcore50;netcoreapp1.1;portable-net45+win8
+ $(NoWarn);NU1603
+ true
-
- $(MicrosoftNETCorePlatformsVersion)
-
-
- 1.0.0-prerelease
-
-
- 0.0.1.4
-
-
- 0.0.1.2
-
-
- 0.0.1.1
-
+
+
+
+
+
+
+
+
- netcoreapp5.0
- .NETCoreApp
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
- true
- false
+ $(SourceDir)Common\test_runtime\obj\project.assets.json
-
-
+
diff --git a/src/coreclr/tests/src/Directory.Build.props b/src/coreclr/tests/src/Directory.Build.props
index d4620863f4d..350f50f5d52 100644
--- a/src/coreclr/tests/src/Directory.Build.props
+++ b/src/coreclr/tests/src/Directory.Build.props
@@ -3,4 +3,7 @@
We include the dir.props for them here so they partake in the old
style of build without them needing to explicitly include anything -->
+
+
+
diff --git a/src/coreclr/tests/src/JIT/config/benchmark+intrinsic/benchmark+intrinsic.csproj b/src/coreclr/tests/src/JIT/config/benchmark+intrinsic/benchmark+intrinsic.csproj
index 8df5b3e9172..078bf8aae7b 100644
--- a/src/coreclr/tests/src/JIT/config/benchmark+intrinsic/benchmark+intrinsic.csproj
+++ b/src/coreclr/tests/src/JIT/config/benchmark+intrinsic/benchmark+intrinsic.csproj
@@ -20,10 +20,7 @@
netcoreapp5.0
.NETCoreApp
- $(PackageTargetFallback);dnxcore50;netcoreapp1.1;portable-net45+win8
win-arm;win-arm64;win-x64;win-x86;$(TargetRid)
- true
- false
netstandard1.4
.NETStandard
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- true
- false
netstandard1.4
.NETStandard
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- true
- false
netstandard1.4
.NETStandard
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- true
- false
$(TestNugetRuntimeId)
+
+
+ $(TargetRid)
+ $(TargetRid)
+
+
true
C#
@@ -135,14 +145,13 @@
2
-
+
$(MSBuildProjectDirectory)\obj
.NETCoreApp,Version=v5.0
netcoreapp5.0
- true
diff --git a/src/coreclr/tests/src/dir.targets b/src/coreclr/tests/src/dir.targets
index 82d242a2d78..bd99530768e 100644
--- a/src/coreclr/tests/src/dir.targets
+++ b/src/coreclr/tests/src/dir.targets
@@ -64,10 +64,6 @@
-
- true
-
-
@@ -88,11 +84,6 @@
-
-
-
-
diff --git a/src/coreclr/tests/src/dirs.proj b/src/coreclr/tests/src/dirs.proj
index 66b6a95c8fe..fcecebacf4b 100644
--- a/src/coreclr/tests/src/dirs.proj
+++ b/src/coreclr/tests/src/dirs.proj
@@ -1,17 +1,6 @@
-
+
-
-
-
-
-
-
-
@@ -24,6 +13,7 @@
+
@@ -31,6 +21,8 @@
+
+
diff --git a/src/coreclr/tests/src/performance/Scenario/JitBench/JitBench.csproj b/src/coreclr/tests/src/performance/Scenario/JitBench/JitBench.csproj
index 583a3c2b13f..ba0b1282103 100644
--- a/src/coreclr/tests/src/performance/Scenario/JitBench/JitBench.csproj
+++ b/src/coreclr/tests/src/performance/Scenario/JitBench/JitBench.csproj
@@ -1,14 +1,8 @@
-
-
-
-
+
- AnyCPU
- Debug
Exe
.exe
-
BuildOnly
diff --git a/src/coreclr/tests/src/performance/linkbench/linkbench.csproj b/src/coreclr/tests/src/performance/linkbench/linkbench.csproj
index 8ce3ab83e80..59404a720f8 100644
--- a/src/coreclr/tests/src/performance/linkbench/linkbench.csproj
+++ b/src/coreclr/tests/src/performance/linkbench/linkbench.csproj
@@ -1,23 +1,13 @@
-
-
-
+
+
- Debug
- AnyCPU
LinkBench
- 2.0
- {507E3CC2-5D95-414D-9F01-2A106FC177DC}
exe
- Properties
- 512
- {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
..\..\
- .NETStandard,Version=v1.6
- netstandard1.6
+ .NETStandard,Version=v1.6
+ netstandard1.6
+ netstandard1.6
-
-
-
..\obj
pdbonly
@@ -32,11 +22,8 @@
-
-
-
$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), performance.targets))\obj\project.assets.json
-
\ No newline at end of file
+
diff --git a/src/coreclr/tests/src/performance/perflab/PerfLab.csproj b/src/coreclr/tests/src/performance/perflab/PerfLab.csproj
index f3a9ba547a5..64978e68b90 100644
--- a/src/coreclr/tests/src/performance/perflab/PerfLab.csproj
+++ b/src/coreclr/tests/src/performance/perflab/PerfLab.csproj
@@ -1,24 +1,14 @@
-
-
+
- Debug
- AnyCPU
PerfLab
- 2.0
- {507E3CC2-5D95-414D-9F01-2A106FC177DC}
Library
- {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
..\..\
$(DefineConstants);STATIC
+ netstandard1.6
.NETStandard,Version=v1.6
netstandard1.6
-
-
-
-
-
..\obj
@@ -39,9 +29,6 @@
-
-
-
$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), performance.targets))/obj/project.assets.json
diff --git a/src/coreclr/tests/src/performance/performance.csproj b/src/coreclr/tests/src/performance/performance.csproj
index e676ac43ec2..684a3986310 100644
--- a/src/coreclr/tests/src/performance/performance.csproj
+++ b/src/coreclr/tests/src/performance/performance.csproj
@@ -1,9 +1,7 @@
-
-
-
+
+
- .NETStandard,Version=v1.6
- netstandard1.6
+ netstandard1.6
false
@@ -103,15 +101,8 @@
4.4.0
+
-
- netstandard1.6
- .NETStandard,Version=1.6
- $(PackageTargetFallback);dnxcore50;portable-net45+win8
- true
- false
-
-
diff --git a/src/coreclr/tests/src/performance/performance.targets b/src/coreclr/tests/src/performance/performance.targets
index b245de01eaa..8b42ab20572 100644
--- a/src/coreclr/tests/src/performance/performance.targets
+++ b/src/coreclr/tests/src/performance/performance.targets
@@ -1,5 +1,5 @@
-
+
BuildOnly