I'm trying to scaffold some identity pages. But while I can select the files to override and select my database context class, the box to select my user class is disabled.
And attempting to add the scaffolding without setting the user class produces an error.
There was an error running the selected code generator:
'Package restore failed. Rolling back package changes for 'Railtrax'.'
This scaffolding feature fails for me about 90% of the time. I don't know why it can't be made more reliable.
Note that I do define my user class.
public class ApplicationUser : IdentityUser
{
// ...
}
And I reference it in my database context class.
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
// ...
}
So I don't understand why it won't work. Can anyone see what I might be missing?
