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.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,189 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
{count} votes