Could not load the information for Project ASP.NET Core MVC

Viewed 141

This is the 1st project that I'm doing using asp.net core MVC.

Also, this is a project that creating by Database First Approach.

For the Main, I have added ASP.NET Core Web App (Model-View-Controller) for the solution, and for the models and data I have added the Class Library project to the same solution.

Class Library Project included the Database Context and Models and I have added this project to my Main Project as a reference.

So in the main project, I got this error when I tried to create a new view.

enter image description here

This is the solution view.

enter image description here

What I have tried,

  • I tried clearing the NuGet package cache.
  • Restarting the VS 2022 and checked for Updates.
  • Installed the EntityFrameworkCore.Design, Web.CodeGeneration,Web.CodeGeneration.Design and Utils.

Still Can't create a view.

0 Answers
Related