I was trying to add a class and repository pattern for the class. But for some reason I wasn’t able to execute the command without error.
I tried separate different way to execute the Scaffolder and unable to get it going.
Tried to Update-MvcScaffolder from Package manager console and Enable Migration from the Package Manager console also. No Luck.
Finally, I closed the solution , reopened it as admin and then update each installed item from the Tools –> Library Package Manager –> Manage Nuget Packages for Solution.
After that I tried the same command and it worked.
I am not sure why, since I haven’t dig deep in the issue yet. But at least this got me going again.
WordPress Tags: Issues,repository,error,Scaffolder,Update,MvcScaffolder,Package,manager,Enable,Migration,Nuget