I developed a web application using AdminLTE MVC Template in visual studio 2017. I just added a new scaffolded items (MVC 5 Controller with views, using Entity Framework) of a folder.
And then, I get this error:-
Exception thrown: 'System.Reflection.ReflectionTypeLoadException' in mscorlib.dll
An exception of type 'System.Reflection.ReflectionTypeLoadException' occurred in mscorlib.dll but was not handled in user code
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Do you know why this is happening? Thanks in advance.
Answers: What I did was to remove/exclude some javascript syntax at the bottom of the Index page, and after that it works just fine.