Still have the same problem even with latest nuget packages and on .NET 7. Is there any way to get a more detailed error message?
Project 'Portal' has the following package references
[net7.0]:
Top-level Package Requested Resolved
> DevExpress.Blazor 22.2.5 22.2.5
> DevExpress.Blazor.Server.WebAssembly 22.2.5 22.2.5
> Microsoft.AspNetCore.Diagnostics 2.2.0 2.2.0
> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 7.0.4 7.0.4
> Microsoft.AspNetCore.Identity.EntityFrameworkCore 7.0.4 7.0.4
> Microsoft.AspNetCore.Identity.UI 7.0.4 7.0.4
> Microsoft.EntityFrameworkCore 7.0.4 7.0.4
> Microsoft.EntityFrameworkCore.Sqlite 7.0.4 7.0.4
> Microsoft.EntityFrameworkCore.SqlServer 7.0.4 7.0.4
> Microsoft.EntityFrameworkCore.Tools 7.0.4 7.0.4
> Microsoft.VisualStudio.Web.CodeGeneration.Design 7.0.5 7.0.5
Finding the generator 'identity'...
Running the generator 'identity'...
No database provider found. Using 'SqlServer' by default for new DbContext creation! (Even though I have selected this in menu, it says that there is no provider found)
Length cannot be less than zero. (Parameter 'length')
at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.<BuildCommandLine>b__6_0()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args)
at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args)