You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
identity generator not compatible with old style entrypoint length must be a non-negative value Scaffolding Fails with Old-Style Entrypoint Programs
#3045
Open
bukowa opened this issue
Oct 27, 2024
· 2 comments
$ dotnetaspnet-codegenerator identity -dbProvider sqlite
Building project ...
Finding the generator 'identity'...
Running the generator 'identity'...length('-639') must bea non-negative value.(Parameter 'length')
Actual value was -639.
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)
RunTime 00:00:32.26
aspnet-codegenerator identity won't work when your application is using class Program static Run(string[] args) top level statement
Adding this code causes the error
incompatible
bukowa
changed the title
length ('-639') must be a non-negative value dotnet aspnet-codegenerator identity
identity generator not compatible with old style entrypoint length must be a non-negative value Oct 27, 2024
bukowa
changed the title
identity generator not compatible with old style entrypoint length must be a non-negative value
identity generator not compatible with old style entrypoint length must be a non-negative value Scaffolding Fails with Old-Style Entrypoint Programs
Oct 27, 2024
The text was updated successfully, but these errors were encountered: