Visual Studio "Add Identity" scaffolder cannot select existing User class as IdentityUser and doesn't show file selection checklist
asked 15 hours ago by @qa-41bdmf3gdvukj2lhc6r6 0 rep · 18 views
visual studio asp.net core mvc asp.net core identity scaffolding
I'm scaffolding ASP.NET Core Identity into an existing project using Visual Studio 2026.
After right click on the project and select "Add > New Scaffolded Item > Identity", the scaffolder doesn't give me any option to specify the existing IdentityUser-derived class in the dialog.
I also expected the classic Identity scaffolder to show a checklist of individual pages
(Login, Register, ForgotPassword, etc.) so I could choose which ones to scaffold/override —
but that list never appears in the dialog either.
What happened after clicking "Add":
1. It generated a new ApplicationUser.cs class under Data/, seemingly ignoring the
custom ApplicationUser class that already existed in my project.
2. It scaffolded Identity Razor Pages under Areas/Identity/Pages/Account/
(Login, Register, ForgotPassword, etc.) rather than letting me pick specific
ones.
Is this expected behavior for this dialog now, or am I missing a setting
somewhere to point the scaffolder at my existing ApplicationUser class and get the
per-page selection list back?