From a7f6154520c9e86675059e69c21e5f18477e3ee3 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 14 Dec 2018 08:17:59 -0800 Subject: [PATCH] Workaround #4804 This is a workaround for a workaround that currently have in d16p1. The Razor SDK maps all netcoreapp3.0 projects to MVC-2.1 at design time, however this only really works if you have the Razor.Design package. Since we have internal builds available that support MVC-3.0 we can just manually hardcode the correct targeting of the project. --- .../Microsoft.AspNetCore.Mvc.Performance.Views.csproj | 4 +--- .../RazorPagesClassLibrary/RazorPagesClassLibrary.csproj | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj b/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj index ad01f2e69e..358fcfa962 100644 --- a/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj +++ b/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -6,8 +6,6 @@ false <_EnableAllInclusiveRazorSdk>true - 3.0 - MVC-3.0 diff --git a/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj b/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj index 9139e34c9e..d0c00e364c 100644 --- a/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj +++ b/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj @@ -1,13 +1,11 @@ - + - netcoreapp3.0 + netcoreapp3.0 false <_EnableAllInclusiveRazorSdk>true - 3.0 - MVC-3.0