询问者
winform程序 在其他机器运行有错误

问题
-
我本机(win7 64)没有任何问题 用的是 .net framework 3.5
程序在其他机器(xp sp3)打包,安装 点击运行 在程序调用某个方法的时候报错
在类型 "类名" 中方法 "方法名" 上加载属性"XmlSerializerFormatAttribute" 时出错,有关详细信息,请参阅InnerException
类和方法是webservice自动生成的
- 已移动 Sheng Jiang 蒋晟Moderator 2011年4月12日 5:05 XML Serialization (发件人:.NET Framework 一般性问题讨论区)
全部回复
-
把异常抓下来,看看InnerException里面是什么
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
你好
XmlSerializerFormatAttribute类是3.0以上版本才包含的,你可以检查下其它机器是否安装了3.0以上版本。
Raymond Tang (Microsoft C# MVP)
Denn Ich Gehoer nur mir
微软中文论坛同城社区成都QQ群:74268428
My Chinese Blog
Chengdu,Sichuan Province,China