From f70acbcdd258853c33fd572165b4d1f80c3ee40a Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Mon, 9 Aug 2021 10:16:56 -0700 Subject: [PATCH] Fix build break. - We no longer track the Roslyn compiler separate from Arcade. This means we can have the latest C# features earlier when Arcade updates. - Removed `` specifications because we can rely on `Latest` everywhere now. --- Directory.Build.props | 2 +- Directory.Build.targets | 6 ------ eng/Versions.props | 1 - .../MemoryCacheBenchmark.cs | 4 ---- .../Microsoft.AspNetCore.Razor.LanguageServer.csproj | 3 +-- .../Microsoft.CodeAnalysis.Razor.Workspaces.csproj | 1 - ...icrosoft.VisualStudio.LanguageServerClient.Razor.csproj | 1 - src/Razor/test/testapps/Directory.Build.props | 7 ------- 8 files changed, 2 insertions(+), 23 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index f25dbc6fff..e48354621d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,7 +17,7 @@ Condition=" '$(CI)' != 'true' AND '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))' != '' " /> - 8.0 + Latest true MicrosoftAspNetCore false diff --git a/Directory.Build.targets b/Directory.Build.targets index a6a9a22479..972b1a3c52 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -26,12 +26,6 @@ $(MicrosoftNETCoreAppRefPackageVersion) - - - diff --git a/eng/Versions.props b/eng/Versions.props index 1689fd177a..d43096419c 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -102,7 +102,6 @@ $(Tooling_MicrosoftCodeAnalysisTestingVersion) $(Tooling_MicrosoftCodeAnalysisTestingVersion) - 3.9.0-2.20573.10 $(MicrosoftVisualStudioPackagesVersion) $(MicrosoftVisualStudioPackagesVersion) $(MicrosoftVisualStudioPackagesVersion) diff --git a/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks/MemoryCacheBenchmark.cs b/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks/MemoryCacheBenchmark.cs index 68f0ed0cc1..730c4765c6 100644 --- a/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks/MemoryCacheBenchmark.cs +++ b/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks/MemoryCacheBenchmark.cs @@ -1,10 +1,6 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using BenchmarkDotNet.Attributes; using Microsoft.AspNetCore.Razor.Language; using Microsoft.CodeAnalysis.Razor; diff --git a/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Microsoft.AspNetCore.Razor.LanguageServer.csproj b/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Microsoft.AspNetCore.Razor.LanguageServer.csproj index 953df6d305..6055e1aa2a 100644 --- a/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Microsoft.AspNetCore.Razor.LanguageServer.csproj +++ b/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Microsoft.AspNetCore.Razor.LanguageServer.csproj @@ -2,7 +2,6 @@ netstandard2.0 - Latest Razor is a markup syntax for adding server-side logic to web pages. This package contains the language server library assets. false false @@ -11,7 +10,7 @@ - + diff --git a/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj b/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj index 19e685ea18..81ab9e8023 100644 --- a/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj +++ b/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj @@ -6,7 +6,6 @@ false false true - Latest diff --git a/src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/Microsoft.VisualStudio.LanguageServerClient.Razor.csproj b/src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/Microsoft.VisualStudio.LanguageServerClient.Razor.csproj index 0e6e18dac7..1fb036f8c2 100644 --- a/src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/Microsoft.VisualStudio.LanguageServerClient.Razor.csproj +++ b/src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/Microsoft.VisualStudio.LanguageServerClient.Razor.csproj @@ -6,7 +6,6 @@ false false true - Latest diff --git a/src/Razor/test/testapps/Directory.Build.props b/src/Razor/test/testapps/Directory.Build.props index 722030acaf..437efac64f 100644 --- a/src/Razor/test/testapps/Directory.Build.props +++ b/src/Razor/test/testapps/Directory.Build.props @@ -42,13 +42,6 @@ <_MvcAssemblyName Include="Microsoft.AspNetCore.Razor.Test.MvcShim.ClassLib" /> - - - -