简体   繁体   中英

System.TypeLoadException when using System.ServiceModel

I'm using a Core project to provide all datas to my Android project and my IOS project.

So in the Core Project I'm using a WSHttpBinding binding. It request the using of " System.ServiceModel ".

The line " using System.ServiceModel " give me the " System.TypeLoadException " when the app is executing the " using System.ServiceModel ".

Thanks in advance !

It's not fully implemented yet. You can check Mono System.ServiceModel class status here which is the difference between Mono and .Net.There are some WSHttpBinding hackings on Mono's page though.

Also, there is a similar question to this, and the accepted answer says :

Mono does not currently support WSHttpBinding, it is a work in progress, and the support is very spotty.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM