user12428054
user12428054

Reputation: 135

rzc generate exited with code -2147450730

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 .

Upvotes: 8

Views: 11201

Answers (3)

Areeha
Areeha

Reputation: 833

For me, installing 2.1 SDK did the trick. Here is the link to it: https://dotnet.microsoft.com/download/dotnet/2.1

Upvotes: 4

Droobie
Droobie

Reputation: 101

I updated Visual Studio to 2019 v16.9.2 and that fixed it for me. I also read another post where repairing the VS installation fixed the problem. My problem started mysteriously after everything had been working for some time, so I don't think it was an issue with the version. I think just running the upgrade repaired the installation.

Upvotes: 0

TomDane
TomDane

Reputation: 1066

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:

Build output error

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

Upvotes: 6

Related Questions