I'm developing a .NET Core project. Yesterday, Web.CodeGeneration
was updated automatically. After the update, I get an error when I try to add new view to my project:
"Scaffolding Failed"
"Could not load information for project X"
I tried to remove and re-install all nuget packages again, and I checked package versions and all of them are 6.0.9 so, same version.
I tried to create a new project to test "add view", but when I install Entity Framework Core packages with web.codegeneration
in the test, project, I again get the same error.
How to fix it?
CodePudding user response:
Unload all your class libraries/other projects except for your web application then try re-adding any scaffolded items. This is the current workaround that works on my end, at least until this bug gets fixed.
CodePudding user response:
If you create references to other projects, the error returns. Importing the libraries works, but if you reference them it gives an error