【Wpf】【debug】Exception has been thrown by the target of an invocation.

今天遇到一个非常郁闷的问题,程序看不出任何错误

 

运行时报

Exception has been thrown by the target of an invocation.

 

导致的原因是

x86的库,调用了x64的库

 

修改方法:

把库项目属性中,目标系统平台改为 x86

posted @ 2010-04-20 16:46  宁#宁  阅读(1039)  评论(0编辑  收藏  举报