System.TypeLoadException当使用System.ServiceModel
问题描述:
我使用一个核心项目提供所有数据到我的Android项目和我的IOS项目。System.TypeLoadException当使用System.ServiceModel
因此在Core Project中,我使用的是WSHttpBinding
绑定。它要求使用“System.ServiceModel
”。
当应用程序执行“using System.ServiceModel
”时,行“using System.ServiceModel
”给我“System.TypeLoadException
”。
在此先感谢!
答
尚未完全实施。你可以检查Mono System.ServiceModel
class status here这是Mono和.Net之间的区别。但Mono's page上有一些WSHttpBinding
黑客。
此外,还有一个类似的问题,这一点,和接受的答案says:
单目前不支持的WSHttpBinding,这是一项正在进行的工作,并且支持非常参差不齐。
我不认为Mono for Android支持'WSHttpBinding',虽然可能是错误的(现在没有时间查看它) – 2013-04-08 11:26:25