Closed tejaswini972 closed 3 years ago
This error is due to Visual Studio not able to find the dotnet package for Dotnet Core 2.2 after an upgrade to .NET version 5.
Solution: Add a Windows environment variable to your system settings: DOTNET_HOST_PATH=%ProgramFiles%\dotnet\dotnet.exe
Exercise 5 Task2 Step6
I am getting this below error after publishing the Contoso.Web web application from Visual studio. Please find the attached screenshot for reference. However it worked when I installed the NuGet pacakge Microsoft.NET.Sdk.Razor.
We have workshop scheduled this week. Can you please try to fix this asap.