I've been trying to scaffold various Identity pages, however I keep getting an error dialog which says "There was an error running the selected code generator: 'Length cannot be less than zero. (Parameter 'length')'". .
In the code generation log, it gives a stack trace:
Finding the generator 'identity'... Running the generator 'identity'... 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)
I'm running version 6.0.7 for the CodeGeneration package.
So is this a bug with the CodeGeneration package? Is there something else I should probably look into for debugging this? How can I get more information for the cause of this error dialog?