Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

Install sequence - SDK first or Visual Studio (nuget package error)

$
0
0

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    


Viewing all articles
Browse latest Browse all 631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>