User1826544511 posted
I reimaged my dev workstation recently. I installed VS19 and created a Core framwork 2.2 web application. And got the following error. Any thoughts why?
-- Wondering if I needed to install the 2.2 Core SDK before I installed VS19?
Severity Code Description Project File Line Suppression State
Error Project "C:\Users\bagee\.nuget\packages\microsoft.aspnetcore.razor.design\2.2.0\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets" was not imported by "C:\Program Files\dotnet\sdk\3.1.403\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Sdk.Razor.CurrentVersion.targets"
at (340,3), due to the file being invalid. WebApplication1 C:\Users\bagee\.nuget\packages\microsoft.aspnetcore.razor.design\2.2.0\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets 340