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

使用反射时发生“exception has been thrown to the target of an invocation”异常在使用反射的过程中如果

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

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


欢迎访问我的主博客《许阳的红泥屋》