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.
This is the solution view.
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.

