summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTanner Gooding <tagoo@outlook.com>2019-02-15 09:20:37 -0800
committerGitHub <noreply@github.com>2019-02-15 09:20:37 -0800
commitcd9831cd00408db60364f367756de296852467ae (patch)
tree523a1fb82af4dc8aecf18eb21cd705e979d05e9b /tests
parentbae641f469bebb39b6043071fa55e1fa032bd355 (diff)
downloadcoreclr-cd9831cd00408db60364f367756de296852467ae.tar.gz
coreclr-cd9831cd00408db60364f367756de296852467ae.tar.bz2
coreclr-cd9831cd00408db60364f367756de296852467ae.zip
Manually update the dependencies.props and move S.P.Corelib to use LangVersion=8.0 (#22452)
* Update BuildTools to preview1-03713-01 (master) * Updating CoreCLR to use LangVersion=8.0 * Moving the Windows scripts to default to `dotnet msbuild` for managed components * Setting UseSharedCompilation=true * Changing some additional callsites that were using msbuild to use dotnet msbuild * Revert packages.builds to use Desktop msbuild on Windows * Fixing runtest.cmd to always set DotNetCli
Diffstat (limited to 'tests')
-rw-r--r--tests/dir.props11
-rw-r--r--tests/runtest.cmd25
-rw-r--r--tests/src/CoreMangLib/system/span/RefStructWithSpan.csproj1
-rw-r--r--tests/src/CoreMangLib/system/span/SlowTailCallArgs.csproj1
-rw-r--r--tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.csproj1
-rw-r--r--tests/src/JIT/Directed/StructPromote/Unsafe/AccessInvalidFieldOffset.csproj1
-rw-r--r--tests/src/JIT/Directed/StructPromote/Unsafe/ReadDoubleFromIntOffset.csproj1
-rw-r--r--tests/src/JIT/Directed/StructPromote/Unsafe/ReadStructAsAnotherType.csproj1
-rw-r--r--tests/src/JIT/HardwareIntrinsics/X86/Sse2/dir.props1
-rw-r--r--tests/src/JIT/Performance/CodeQuality/Span/Indexer.csproj1
-rw-r--r--tests/src/JIT/Performance/CodeQuality/Span/SpanBench.csproj1
-rw-r--r--tests/src/JIT/Regression/JitBlue/DevDiv_736188/DevDiv_736188.csproj2
-rw-r--r--tests/src/JIT/Regression/JitBlue/GitHub_21915/Github_21915.csproj1
-rw-r--r--tests/src/JIT/Regression/JitBlue/GitHub_21990/GitHub_21990.csproj1
-rw-r--r--tests/src/JIT/opt/Devirtualization/box2.csproj3
-rw-r--r--tests/src/baseservices/TieredCompilation/TieredVtableMethodTests.csproj1
-rw-r--r--tests/src/baseservices/exceptions/stacktrace/Tier1StackTrace.csproj1
-rw-r--r--tests/src/readytorun/DynamicMethodGCStress/DynamicMethodGCStress.csproj1
-rw-r--r--tests/src/reflection/SetValue/TrySetReadonlyStaticField.csproj1
-rw-r--r--tests/src/reflection/Tier1Collectible/Tier1Collectible.csproj1
20 files changed, 13 insertions, 44 deletions
diff --git a/tests/dir.props b/tests/dir.props
index 2266e4eec2..393de20ab9 100644
--- a/tests/dir.props
+++ b/tests/dir.props
@@ -9,11 +9,10 @@
</PropertyGroup>
<Import Project="dir.sdkbuild.props" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
-
- <!-- Build Tools Versions -->
+
<PropertyGroup>
- <RoslynVersion>1.0.0-rc3-20150510-01</RoslynVersion>
- <RoslynPackageName>Microsoft.Net.ToolsetCompilers</RoslynPackageName>
+ <LangVersion>8.0</LangVersion>
+ <UseSharedCompilation>true</UseSharedCompilation>
</PropertyGroup>
<!--
@@ -30,7 +29,7 @@
-->
<PropertyGroup>
<RunningOnCore>false</RunningOnCore>
- <RunningOnCore Condition="'$(MSBuildRuntimeType)' == 'Core'">true</RunningOnCore>
+ <RunningOnCore Condition="'$(MSBuildRuntimeType)' == 'core'">true</RunningOnCore>
<BuildToolsTargetsDesktop>false</BuildToolsTargetsDesktop>
<BuildToolsTargetsDesktop Condition="'$(RunningOnCore)' != 'true'">true</BuildToolsTargetsDesktop>
<BuildToolsTargets45>$(BuildToolsTargetsDesktop)</BuildToolsTargets45>
@@ -109,7 +108,7 @@
</PropertyGroup>
<!-- Use Roslyn Compilers to build -->
- <Import Project="$(RoslynPropsFile)" Condition="Exists('$(RoslynPropsFile)') and '$(RoslynIncompatibleMsbuildVersion)' != 'true'" />
+ <Import Project="$(RoslynPropsFile)" />
<PropertyGroup Condition="'$(BuildAllProjects)'=='true'">
<!-- When we do a traversal build we get all packages up front, don't restore them again -->
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index a31ee475b9..b5036f579b 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -35,6 +35,8 @@ set "__ProjectFilesDir=%__ProjectDir%"
set "__RootBinDir=%__ProjectDir%\..\bin"
set "__LogsDir=%__RootBinDir%\Logs"
set "__MsbuildDebugLogsDir=%__LogsDir%\MsbuildDebugLogs"
+set __ToolsDir=%__ProjectDir%\..\Tools
+set "DotNetCli=%__ToolsDir%\dotnetcli\dotnet.exe"
set __Sequential=
set __msbuildExtraArgs=
@@ -241,17 +243,12 @@ exit /b %ERRORLEVEL%
:: Set up msbuild and tools environment. Check if msbuild and VS exist.
-set _msbuildexe=
if /i "%__VSVersion%" == "vs2019" (
set "__VSToolsRoot=%VS160COMNTOOLS%"
set "__VCToolsRoot=%VS160COMNTOOLS%\..\..\VC\Auxiliary\Build"
-
- set _msbuildexe="%VS160COMNTOOLS%\..\..\MSBuild\Current\Bin\MSBuild.exe"
) else if /i "%__VSVersion%" == "vs2017" (
set "__VSToolsRoot=%VS150COMNTOOLS%"
set "__VCToolsRoot=%VS150COMNTOOLS%\..\..\VC\Auxiliary\Build"
-
- set _msbuildexe="%VS150COMNTOOLS%\..\..\MSBuild\15.0\Bin\MSBuild.exe"
)
:: Does VS really exist?
@@ -259,12 +256,6 @@ if not exist "%__VSToolsRoot%\..\IDE\devenv.exe" goto NoVS
if not exist "%__VCToolsRoot%\vcvarsall.bat" goto NoVS
if not exist "%__VSToolsRoot%\VsDevCmd.bat" goto NoVS
-:: Does MSBuild really exist?
-if not exist %_msbuildexe% (
- echo %__MsgPrefix%Error: Could not find MSBuild.exe. Please see https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md for build instructions.
- exit /b 1
-)
-
if not defined VSINSTALLDIR (
echo %__MsgPrefix%Error: runtest.cmd should be run from a Visual Studio Command Prompt. Please see https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md for build instructions.
exit /b 1
@@ -426,8 +417,6 @@ REM ============================================================================
:RunCoreFXTests
set _CoreFXTestHost=%XunitTestBinBase%\testhost
-set __ToolsDir=%__ProjectDir%\..\Tools
-set "DotNetCli=%__ToolsDir%\dotnetcli\dotnet.exe"
set _RootCoreFXTestPath=%__TestWorkingDir%\CoreFX
set _CoreFXTestUtilitiesOutputPath=%_RootCoreFXTestPath%\CoreFXTestUtilities
@@ -591,10 +580,10 @@ set __msbuildLogArgs=^
set __msbuildArgs=%* %__msbuildCommonArgs% %__msbuildLogArgs%
@REM The next line will overwrite the existing log file, if any.
-echo %__MsgPrefix%%_msbuildexe% %__msbuildArgs%
-echo Invoking: %_msbuildexe% %__msbuildArgs% > "%__BuildLog%"
+echo %__MsgPrefix%"%DotNetCli%" msbuild %__msbuildArgs%
+echo Invoking: "%DotNetCli%" msbuild %__msbuildArgs% > "%__BuildLog%"
-%_msbuildexe% %__msbuildArgs%
+call "%DotNetCli%" msbuild %__msbuildArgs%
if errorlevel 1 (
echo %__MsgPrefix%Error: msbuild failed. Refer to the log files for details:
echo %__BuildLog%
@@ -687,14 +676,14 @@ echo %__MsgPrefix%Created the Test Host layout with all dependencies in %_CoreFX
REM Publish and call the CoreFX test helper projects - should this be integrated into runtest.proj?
REM Build Helper project
-set NEXTCMD="%DotNetCli%" msbuild /t:Restore "%_CoreFXTestSetupUtility%"
+set NEXTCMD=call :msbuild /t:Restore "%_CoreFXTestSetupUtility%"
echo !NEXTCMD!
!NEXTCMD!
if errorlevel 1 (
exit /b 1
)
-set NEXTCMD=call "%DotNetCli%" msbuild "/p:Configuration=%CoreRT_BuildType%" "/p:OSGroup=%CoreRT_BuildOS%" "/p:Platform=%CoreRT_BuildArch%" "/p:OutputPath=%_CoreFXTestUtilitiesOutputPath%" "%_CoreFXTestSetupUtility%"
+set NEXTCMD=call :msbuild "/p:Configuration=%CoreRT_BuildType%" "/p:OSGroup=%CoreRT_BuildOS%" "/p:Platform=%CoreRT_BuildArch%" "/p:OutputPath=%_CoreFXTestUtilitiesOutputPath%" "%_CoreFXTestSetupUtility%"
echo !NEXTCMD!
!NEXTCMD!
if errorlevel 1 (
diff --git a/tests/src/CoreMangLib/system/span/RefStructWithSpan.csproj b/tests/src/CoreMangLib/system/span/RefStructWithSpan.csproj
index 40ad0645bd..7c56c67be9 100644
--- a/tests/src/CoreMangLib/system/span/RefStructWithSpan.csproj
+++ b/tests/src/CoreMangLib/system/span/RefStructWithSpan.csproj
@@ -9,7 +9,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestKind>BuildAndRun</CLRTestKind>
<CLRTestPriority>1</CLRTestPriority>
diff --git a/tests/src/CoreMangLib/system/span/SlowTailCallArgs.csproj b/tests/src/CoreMangLib/system/span/SlowTailCallArgs.csproj
index 8acdab76c2..6afa0ee0e6 100644
--- a/tests/src/CoreMangLib/system/span/SlowTailCallArgs.csproj
+++ b/tests/src/CoreMangLib/system/span/SlowTailCallArgs.csproj
@@ -9,7 +9,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestKind>BuildAndRun</CLRTestKind>
<CLRTestPriority>1</CLRTestPriority>
diff --git a/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.csproj b/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.csproj
index f83106e248..2866310fd2 100644
--- a/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.csproj
+++ b/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.csproj
@@ -13,7 +13,6 @@
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<DefineConstants>$(DefineConstants);STATIC</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
diff --git a/tests/src/JIT/Directed/StructPromote/Unsafe/AccessInvalidFieldOffset.csproj b/tests/src/JIT/Directed/StructPromote/Unsafe/AccessInvalidFieldOffset.csproj
index b25553e5f8..9d749c5c5b 100644
--- a/tests/src/JIT/Directed/StructPromote/Unsafe/AccessInvalidFieldOffset.csproj
+++ b/tests/src/JIT/Directed/StructPromote/Unsafe/AccessInvalidFieldOffset.csproj
@@ -10,7 +10,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
diff --git a/tests/src/JIT/Directed/StructPromote/Unsafe/ReadDoubleFromIntOffset.csproj b/tests/src/JIT/Directed/StructPromote/Unsafe/ReadDoubleFromIntOffset.csproj
index b25553e5f8..9d749c5c5b 100644
--- a/tests/src/JIT/Directed/StructPromote/Unsafe/ReadDoubleFromIntOffset.csproj
+++ b/tests/src/JIT/Directed/StructPromote/Unsafe/ReadDoubleFromIntOffset.csproj
@@ -10,7 +10,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
diff --git a/tests/src/JIT/Directed/StructPromote/Unsafe/ReadStructAsAnotherType.csproj b/tests/src/JIT/Directed/StructPromote/Unsafe/ReadStructAsAnotherType.csproj
index b25553e5f8..9d749c5c5b 100644
--- a/tests/src/JIT/Directed/StructPromote/Unsafe/ReadStructAsAnotherType.csproj
+++ b/tests/src/JIT/Directed/StructPromote/Unsafe/ReadStructAsAnotherType.csproj
@@ -10,7 +10,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/dir.props b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/dir.props
index c2cc1356db..b663c72888 100644
--- a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/dir.props
+++ b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/dir.props
@@ -1,6 +1,5 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Condition="Exists('..\dir.props')" Project="..\dir.props"/>
<PropertyGroup>
- <LangVersion>latest</LangVersion>
</PropertyGroup>
</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Performance/CodeQuality/Span/Indexer.csproj b/tests/src/JIT/Performance/CodeQuality/Span/Indexer.csproj
index ad67828b47..c8d6b54a5e 100644
--- a/tests/src/JIT/Performance/CodeQuality/Span/Indexer.csproj
+++ b/tests/src/JIT/Performance/CodeQuality/Span/Indexer.csproj
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Always try to use latest Roslyn compiler -->
- <Import Project="$(ToolsDir)net46\roslyn\build\Microsoft.Net.Compilers.props" Condition="Exists('$(ToolsDir)net46\roslyn\build\Microsoft.Net.Compilers.props')" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
diff --git a/tests/src/JIT/Performance/CodeQuality/Span/SpanBench.csproj b/tests/src/JIT/Performance/CodeQuality/Span/SpanBench.csproj
index 27581abd31..16649c889f 100644
--- a/tests/src/JIT/Performance/CodeQuality/Span/SpanBench.csproj
+++ b/tests/src/JIT/Performance/CodeQuality/Span/SpanBench.csproj
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Always try to use latest Roslyn compiler -->
- <Import Project="$(ToolsDir)net46\roslyn\build\Microsoft.Net.Compilers.props" Condition="Exists('$(ToolsDir)net46\roslyn\build\Microsoft.Net.Compilers.props')" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_736188/DevDiv_736188.csproj b/tests/src/JIT/Regression/JitBlue/DevDiv_736188/DevDiv_736188.csproj
index 9bfa92ae61..5666642db8 100644
--- a/tests/src/JIT/Regression/JitBlue/DevDiv_736188/DevDiv_736188.csproj
+++ b/tests/src/JIT/Regression/JitBlue/DevDiv_736188/DevDiv_736188.csproj
@@ -9,8 +9,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <LangVersion>latest</LangVersion>
-
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
diff --git a/tests/src/JIT/Regression/JitBlue/GitHub_21915/Github_21915.csproj b/tests/src/JIT/Regression/JitBlue/GitHub_21915/Github_21915.csproj
index c46f1c3549..42f8a01f39 100644
--- a/tests/src/JIT/Regression/JitBlue/GitHub_21915/Github_21915.csproj
+++ b/tests/src/JIT/Regression/JitBlue/GitHub_21915/Github_21915.csproj
@@ -14,7 +14,6 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
<PropertyGroup>
- <LangVersion>latest</LangVersion>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
diff --git a/tests/src/JIT/Regression/JitBlue/GitHub_21990/GitHub_21990.csproj b/tests/src/JIT/Regression/JitBlue/GitHub_21990/GitHub_21990.csproj
index c46f1c3549..42f8a01f39 100644
--- a/tests/src/JIT/Regression/JitBlue/GitHub_21990/GitHub_21990.csproj
+++ b/tests/src/JIT/Regression/JitBlue/GitHub_21990/GitHub_21990.csproj
@@ -14,7 +14,6 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
<PropertyGroup>
- <LangVersion>latest</LangVersion>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
diff --git a/tests/src/JIT/opt/Devirtualization/box2.csproj b/tests/src/JIT/opt/Devirtualization/box2.csproj
index e821b3bca9..efc30347f1 100644
--- a/tests/src/JIT/opt/Devirtualization/box2.csproj
+++ b/tests/src/JIT/opt/Devirtualization/box2.csproj
@@ -20,7 +20,6 @@
</CodeAnalysisDependentAssemblyPaths>
</ItemGroup>
<PropertyGroup>
- <Langversion>7.2</Langversion>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
@@ -32,4 +31,4 @@
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project> \ No newline at end of file
+</Project>
diff --git a/tests/src/baseservices/TieredCompilation/TieredVtableMethodTests.csproj b/tests/src/baseservices/TieredCompilation/TieredVtableMethodTests.csproj
index 5c64a51cd6..dc65a66b04 100644
--- a/tests/src/baseservices/TieredCompilation/TieredVtableMethodTests.csproj
+++ b/tests/src/baseservices/TieredCompilation/TieredVtableMethodTests.csproj
@@ -6,7 +6,6 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DF8B8A76-BC07-4A5F-BD74-1B5D79B94E92}</ProjectGuid>
<OutputType>Exe</OutputType>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestPriority>0</CLRTestPriority>
</PropertyGroup>
diff --git a/tests/src/baseservices/exceptions/stacktrace/Tier1StackTrace.csproj b/tests/src/baseservices/exceptions/stacktrace/Tier1StackTrace.csproj
index 04b7663073..818a17b569 100644
--- a/tests/src/baseservices/exceptions/stacktrace/Tier1StackTrace.csproj
+++ b/tests/src/baseservices/exceptions/stacktrace/Tier1StackTrace.csproj
@@ -6,7 +6,6 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8758BFAC-7D36-4244-8A36-4C464C0AFA6D}</ProjectGuid>
<OutputType>Exe</OutputType>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<CLRTestPriority>1</CLRTestPriority>
diff --git a/tests/src/readytorun/DynamicMethodGCStress/DynamicMethodGCStress.csproj b/tests/src/readytorun/DynamicMethodGCStress/DynamicMethodGCStress.csproj
index 9ed0f8f712..c59c217f9e 100644
--- a/tests/src/readytorun/DynamicMethodGCStress/DynamicMethodGCStress.csproj
+++ b/tests/src/readytorun/DynamicMethodGCStress/DynamicMethodGCStress.csproj
@@ -6,7 +6,6 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8884AF49-72DA-44EC-B3E0-9FC8F9BCC1F9}</ProjectGuid>
<OutputType>Exe</OutputType>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<!-- This test has a secondary thread with an infinite loop -->
diff --git a/tests/src/reflection/SetValue/TrySetReadonlyStaticField.csproj b/tests/src/reflection/SetValue/TrySetReadonlyStaticField.csproj
index d7d18999cf..f0fff6abdc 100644
--- a/tests/src/reflection/SetValue/TrySetReadonlyStaticField.csproj
+++ b/tests/src/reflection/SetValue/TrySetReadonlyStaticField.csproj
@@ -6,7 +6,6 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{58DB4A46-51BE-46A1-AEA1-0C32FBAF5562}</ProjectGuid>
<OutputType>Exe</OutputType>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
diff --git a/tests/src/reflection/Tier1Collectible/Tier1Collectible.csproj b/tests/src/reflection/Tier1Collectible/Tier1Collectible.csproj
index f77c7cff63..fcc11bf828 100644
--- a/tests/src/reflection/Tier1Collectible/Tier1Collectible.csproj
+++ b/tests/src/reflection/Tier1Collectible/Tier1Collectible.csproj
@@ -6,7 +6,6 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{58DB4A46-51BE-46A1-AEA1-0C32FBAF5562}</ProjectGuid>
<OutputType>Exe</OutputType>
- <LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>