I'm working on a asp.net core MVC project. I need to add a view for a method of a controller. To do that, I right click on the body of the considered method and then choose Add View but the system shows me an error:
there was an error running the selected code generator: Package restore failed rolling back package changes MyProject.
I appreciate if anyone tells me how I can fix the issue.





