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
When trying to add "New Scaffolded Item..." for Identity pages, then after selection getting following error:
There was an error running the selected code generator: No code generators found with the name 'identity'
Image
Solution:
Open file "Directory.Build.props" available in Solution Items and comment out following line
like
Commenting above line means that now artifacts (i.e. bin and obj) of the projects under the solution will be created in individual projects, which are generated when you will compile or run the project.
Now, add the identity pages using "New Scaffolded Item..." from Visual Studio. We will use this to update the ASP Net Identity UI - page contents or modifying working functionalities.
Once you will be done with this then uncomment the same line which is available in "Directory.Build.props" file available in Solution Items
This file is useful to store the artifacts of the project (i.e. bin and obj), which are generated when you will compile or run the project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to add "New Scaffolded Item..." for Identity pages, then after selection getting following error:
There was an error running the selected code generator: No code generators found with the name 'identity'
Image

Solution:
Open file "Directory.Build.props" available in Solution Items and comment out following line
like
Commenting above line means that now artifacts (i.e. bin and obj) of the projects under the solution will be created in individual projects, which are generated when you will compile or run the project.
Now, add the identity pages using "New Scaffolded Item..." from Visual Studio. We will use this to update the ASP Net Identity UI - page contents or modifying working functionalities.
Once you will be done with this then uncomment the same line which is available in "Directory.Build.props" file available in Solution Items

This file is useful to store the artifacts of the project (i.e. bin and obj), which are generated when you will compile or run the project.
Beta Was this translation helpful? Give feedback.
All reactions