I can't generate a Razor view in ASP.NET Core v7 - Package restore failed
Rafael Andrade
0
Reputation points
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.
Razor options:
View name: Index
Model: Any
Error:
Error running selected code generator: "Package restore failed. Reverting package changes to project"
Sign in to answer