反射引发的错误“reflection Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.”

可以尝试的方法:

1、删除Bin目录,重新编译;

2、如果项目类型是网站,检查是否重用了应用程序池;

3、只对需要查找的程序集GetTypes();

原文地址:https://www.cnblogs.com/jinzhao/p/2622088.html