I created an ASP.NET Core 6 Razor pages project in Visual Studio 2022 and when I tried to create a razor page using Entity Framework (CRUD) in the Add new scaffolded item section, I get this error:
value cannot be null
parameter name: unconfiguredProjectCommonServices
I installed the following packages in my project:
- Microsoft.EntityFrameworkCore.Design (6.0.27)
- Microsoft.EntityFrameworkCore.SQLServer (6.0.27)
- Microsoft.VisualStudio.Web.CodeGeneration (6.0.16)
- Microsoft.EntityFrameworkCore (6.0.27)
- Microsoft.EntityFrameworkCore.Tools (6.0.27)
I've found nothing about this specific error so far, what is this error and how can I fix this ? Thanks in advance