How do I fix the error: "Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'dotnet-aspnet-codegenerator-design, Version=7.0.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'."

Emmanuel Genga 0 Reputation points
2023-06-09T10:23:15.2333333+00:00

The above error happens when I try to create a scaffold for the identity, I have installed all the necessary packages that are needed for code generation but it still keeps giving me the same output. I also tried rebuilding the project and restarting the editor but that has not changed anything. If anyone has encountered the same problem and managed to solve it kindly assist.

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.