From adb1b35ca30e8f501b31c36509b42ae9b1594c77 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Wed, 1 May 2024 11:24:04 -0700 Subject: [PATCH] Move test reference assemblies forward (#73266) * Move netstandard2.0 * Move net50 * Move net60 * Move net461 * Move netstandard1.3 * Move net70 * Formatting changes * Restore nuget.config * PR feedback --- .vscode/tasks.json | 13 ++ eng/Directory.Packages.props | 12 +- .../Test/CommandLine/CommandLineTestBase.cs | 2 +- .../Test/CommandLine/CommandLineTests.cs | 6 +- .../DefaultInterfaceImplementationTests.cs | 6 +- .../AnalyzerFileReferenceAppDomainTests.cs | 6 +- .../AnalyzerConsistencyCheckerTests.cs | 10 +- .../Test/Core/AssemblyLoadTestFixture.cs | 6 +- .../Test/Core/Platform/Desktop/TestHelpers.cs | 6 +- .../Test/Core/TargetFrameworkUtil.cs | 156 ++++++++++++++---- src/Compilers/Test/Core/TestBase.cs | 6 +- .../Test/Utilities/CSharp/CSharpTestBase.cs | 2 +- .../Semantics/RequiredMembersTests.vb | 24 +-- .../AbstractMetadataAsSourceTests.cs | 6 +- .../Test/ExpressionCompiler/LocalsTests.cs | 2 +- .../CSharpTest/InteractiveSessionTests.cs | 6 +- .../TestCompilationFactory.cs | 4 +- 17 files changed, 185 insertions(+), 88 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f85f5cc650b82..ca796b609eafa 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -67,6 +67,19 @@ "problemMatcher": "$msCompile", "group": "build" }, + { + "label": "build Roslyn.sln", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + "-p:RunAnalyzersDuringBuild=false", + "-p:GenerateFullPaths=true", + "Roslyn.sln" + ], + "problemMatcher": "$msCompile", + "group": "build" + }, { "label": "build current project", "type": "shell", diff --git a/eng/Directory.Packages.props b/eng/Directory.Packages.props index d9970c400f1f0..8adaa8740c2ac 100644 --- a/eng/Directory.Packages.props +++ b/eng/Directory.Packages.props @@ -293,13 +293,13 @@ - - - - + + + + - - + +