From 4b6a5b26f63105fe351768be4428730e69077715 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Thu, 25 Jul 2019 16:21:25 -0700 Subject: [PATCH] Revert "Update test projects to use latest Roslyn." This reverts commit dotnet/aspnetcore-tooling@cff58c01ae8151385df156e6eb421d8e613965f9. \n\nCommit migrated from https://github.com/dotnet/aspnetcore-tooling/commit/7388cde7ea9964861dfe0debf366436c754ffd1c --- .../BuildServerIntegrationTest.cs | 6 ----- .../test/testassets/Directory.Build.props | 22 ------------------- 2 files changed, 28 deletions(-) diff --git a/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs b/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs index 7cab7ac3ee..6121bc9646 100644 --- a/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs +++ b/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs @@ -77,12 +77,6 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests [InitializeTestProject(originalProjectName: "SimpleMvc", targetProjectName: "Whitespace in name", baseDirectory: "")] public async Task Build_AppWithWhitespaceInName_CanBuildSuccessfully() { - // We need to separately restore the project in order to ensure this project uses the latest Roslyn. Without this - // the Csc task from Roslyn would have already been loaded and any update to it from nuget packages would not have - // an effect. This allows us to create our obj/Whitespace in name.csproj.nuget.g.props file (we renamed the project) - // and then properly build the project with an appropriate Csc. - await DotnetMSBuild("Restore"); - var result = await DotnetMSBuild( "Build", "/p:_RazorForceBuildServer=true"); diff --git a/src/Razor/test/testassets/Directory.Build.props b/src/Razor/test/testassets/Directory.Build.props index d9d2ac66f5..8cc9caef29 100644 --- a/src/Razor/test/testassets/Directory.Build.props +++ b/src/Razor/test/testassets/Directory.Build.props @@ -38,26 +38,4 @@ - - - 3.3.0-beta2-19365-06 - - $(RestoreSources); - https://dotnet.myget.org/F/roslyn/api/v3/index.json; - - - - - - - -