In all other versions of ASP.NET Core this command has worked:
Scaffold-DbContext "Server=myLocalSQLserver;Database=ExampleDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
But with .NET8 it wont work. Does someone know any difference how to use this commad in .net8?
I use the same version number of those 2 needed packages as my .net version is.
This is important but in this case it is not the problem.
1