Hello,
with these compilation parameters:
• SDK: Default
• Linker: Link Framework SDKs Only
• Architecture: ARMv7 + ARM64
• Httpclient: Managed (default)
and with this configuration:
• VS 2017 15.9.10
• Xamarin.iOS and Xamarin.Mac SDK 12.2.1.16
• Mini Mac (Mojave 10.14.4)
• Xcode 10.2
• Device iPhone 5c (10.3.3)
• Library for WCF access compiled with .NET Framework 4.6.1
when release on device I get this error:
error MT2101: Can't resolve the reference 'System.ServiceModel.Channels.AsymmetricSecurityBindingElement', referenced from the method 'System.Boolean Microsoft.Tools.ServiceModel.ClientBase`1 :: IsSecureMessageBinding (System.ServiceModel.Channels.Binding)' in 'System.ServiceModel, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'.
Can someone help me?
Thanks in advance
Answers
It seems the error comes from the class
Microsoft.Tools.ServiceModel.ClientBase
which belongs to Library for WCF access compiled with .NET Framework 4.6.1.Check .NET Standard .