C
C#15mo ago
Ice_

❔ Blazor Server - scaffolding Identity error

It keeps giving me the error message: Error There was an error running the selected code generator: 'Length cannot be less than zero. (Parameter 'length')' Identity is working and I can register/login, I just can't scaffold in the files for login/register so I can update the HTML. Googling it seems to suggest this is a common problem 🤔 What could be the problem?
2 Replies
Ice_
Ice_15mo ago
Forgot to mention that I have updated all the nuget packages. I created another blazor server app project, scaffolded in what I wanted. Copied over the files to the original project and changed some namespaces and that worked. I'm curious though why scaffolding fails on the original project Update: Moving the file and fixing namespace adds another problem... When entering the password it's visible and not masked and if I try to login or register it just throws me a 400 error. I give up!
Accord
Accord15mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts