2013-04-08 147 views
1

我使用一個核心項目提供所有數據到我的Android項目和我的IOS項目。System.TypeLoadException當使用System.ServiceModel

因此在Core Project中,我使用的是WSHttpBinding綁定。它要求使用「System.ServiceModel」。

當應用程序執行「using System.ServiceModel」時,行「using System.ServiceModel」給我「System.TypeLoadException」。

在此先感謝!

+0

我不認爲Mono for Android支持'WSHttpBinding',雖然可能是錯誤的(現在沒有時間查看它) – 2013-04-08 11:26:25

回答

1

尚未完全實施。你可以檢查Mono System.ServiceModel class status here這是Mono和.Net之間的區別。但Mono's page上有一些WSHttpBinding黑客。

此外,還有一個類似的問題,這一點,和接受的答案says

單目前不支持的WSHttpBinding,這是一項正在進行的工作,並且支持非常參差不齊。

相關問題