From 96320aaf1e91d764b55352dc4cc53fb6aee20ee9 Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Fri, 9 Jul 2021 15:58:57 -0700 Subject: [PATCH 1/2] Update included Build Tools to match .NET SDK 6 Preview 6 --- build/Packages.props | 2 +- tools/packages.config | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/build/Packages.props b/build/Packages.props index d1ff97b00a..8d01255761 100644 --- a/build/Packages.props +++ b/build/Packages.props @@ -7,7 +7,7 @@ 16.9.4 16.10.0 5.2.0 - 4.0.0-2.21322.50 + 4.0.0-2.21358.2 2.4.1 diff --git a/tools/packages.config b/tools/packages.config index ace04ea705..9be70a1ae1 100644 --- a/tools/packages.config +++ b/tools/packages.config @@ -9,43 +9,43 @@ - - + + - - - - - + + + + + - - - - - + + + + + - + - + - - - - + + + + @@ -56,7 +56,7 @@ From b945b6a2615b849815421dcaa31028cb5cd3390a Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Fri, 9 Jul 2021 21:24:28 -0700 Subject: [PATCH 2/2] Update language version test --- tests/OmniSharp.Script.Tests/ScriptProjectProviderTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/OmniSharp.Script.Tests/ScriptProjectProviderTests.cs b/tests/OmniSharp.Script.Tests/ScriptProjectProviderTests.cs index 9339fba6ad..c9d10f2dda 100644 --- a/tests/OmniSharp.Script.Tests/ScriptProjectProviderTests.cs +++ b/tests/OmniSharp.Script.Tests/ScriptProjectProviderTests.cs @@ -17,7 +17,7 @@ public void DefaultLanguageVersionShouldBeLatest() var scriptProjectProvider = new ScriptProjectProvider(new ScriptOptions(), new OmniSharpEnvironment(), new LoggerFactory(), true, false); var scriptProjectInfo = scriptProjectProvider.CreateProject("test.csx", Enumerable.Empty(), Path.GetTempPath(), typeof(CommandLineScriptGlobals)); Assert.Equal(LanguageVersion.Latest, ((CSharpParseOptions)scriptProjectInfo.ParseOptions).SpecifiedLanguageVersion); - Assert.Equal(LanguageVersion.CSharp9, ((CSharpParseOptions)scriptProjectInfo.ParseOptions).LanguageVersion); + Assert.Equal(LanguageVersion.CSharp10, ((CSharpParseOptions)scriptProjectInfo.ParseOptions).LanguageVersion); } } }