I can't generate a Razor view in ASP.NET Core v7 - Package restore failed
I'm new in ASP.NET and I don't know exactly where is the error or which package is broken. It only occurs while generating a template of view. I can generate Controllers and empty Views normally.
I reinstalled the Visual Studio, cleaned and rebuilt the solution, followed the steps from this answer, but still couldn't solve my issue.
Error running selected code generator: "Package restore failed. Reverting package changes to project"
Hi Rafael, could you please try to do
In visual studio --> Tools --> Options --> NuGet Package Manager --> General --> Clear All Nuget Storageand check if the scaffold could work?
Sign in to comment