After I created the blazor application in Visual studio . When i trying to run or build the application am getting this error.
I used dotnet restore
and dotnet build
.
This was the fix for me https://github.com/dotnet/aspnetcore/issues/20857
If you check the build ouput window, you might see a more useful error like:
This showed that I needed to install the lastest .NET runtime from https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.5-windows-hosting-bundle-installer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With