diff options
author | Tanner Gooding <tagoo@outlook.com> | 2019-02-15 09:20:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 09:20:37 -0800 |
commit | cd9831cd00408db60364f367756de296852467ae (patch) | |
tree | 523a1fb82af4dc8aecf18eb21cd705e979d05e9b /tests/src | |
parent | bae641f469bebb39b6043071fa55e1fa032bd355 (diff) | |
download | coreclr-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/src')
18 files changed, 1 insertions, 20 deletions
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> |