使用反射时发生“exception has been thrown to the target of an invocation”异常

在使用反射的过程中如果发生“exception has been thrown to the target of an invocation”异常,那很有可能是被反射的Assembly中引用了其他Assembly而这些被引用的Assembly在主程序中没有被引用。



欢迎访问我的主博客《许阳的红泥屋
posted @ 2012-06-28 17:23  许阳 无锡  阅读(259)  评论(0编辑  收藏  举报