I tried to create the controller by selecting "MVC controller with views using Entity Framework" option, but I get a "Package restore failed" error. I am using Visual Studio 2022 and ASP.NET Core 6.
I checked the package settings, reinstalled the packages but I don't understand the problem. The course I'm watching uses ASP.NET Core 5, I'm using ASP.NET Core 6. There was no error in it, it gave me an error.