Task is to Create an Identity Scaffold Item .NETCoreMVC is 8, for that modified ApplicationDbContext base class from DbContext to IdentityDbContext in dataaccess project and installed nuget package “Microsoft.AspNetCore.Identity.EntityFrameworkCore” Version 8.0.0 on same project.
Next trying to add Scaffold Identity Item in web application it throws following error:-
Error
There was an error running the selected code generator:
‘Package restore failed. Rolling back package changes for ‘ProjectName’.’
Below is the ApplicationDbContext class screenshot from dataaccess project
enter image description here
Below is the error message thrown in web project
enter image description here
Tamilarasan Jayaraman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.