Building an intranet system in ASP.NET Core and all was working fine but now I have added identity to it so that a login system can be integrated I have hit a complete roadblock.
Added an identity context to the solution to handle the logins. When I hit build I have got a list of errors like this :
packages_microsoft_visualstudio_web_codegenerators_mvc_8_0_7_Templates_Identity_Pages_Account_Manage_Account_Manage_ShowRecoveryCodes_cshtml.g.cs(119,71): Error CS0246 : The type or namespace name 'ShowRecoveryCodesModel' could not be found (are you missing a using directive or an assembly reference?)
I have built a separate project using identity without any problem. I have even build the project in Rider instead of Visual Studio but still get this same problem.
Any help or insight would be greatly appreciated as this has stopped me dead in my tracks.