MonoTouch - System.ServiceModel.Dispatcher.ClientOperation 失败(“无法加载 [type] 的签名)。
MonoTouch - System.ServiceModel.Dispatcher.ClientOperation fails ("Could not Load signature of [type]).
我们有一个在 .net SDK 中使用的自定义 JSON WCF 绑定(支持 JSON,类似于 WebHttpBinding)。我们的 SDK 是 PCL 支持 .net 4.5、Win8、IOS、Android 配置文件 - 它可以在我们的 Windows 桌面应用程序中运行,并且 Android 没有任何问题.我们刚刚开始研究 MonoTouch,并一直在追查为什么我们的自定义 WCF 绑定无法正常工作。我们能够确定在实现 System.ServiceModel.Description.IOperationBehavior 接口的 WCF class 中,MonoTouch 在尝试处理 System.ServiceModel.Dispatcher.ClientOperation.[=12= 时失败]
准确的错误是单声道"Could not load the signature of (our custom type) Failed for unknown reasons."
当我将 .csproj 链接器选项配置为 "Link SDK assemblies only" 并尝试编译时,出现错误:
Xamarin.iOS 8.6.1 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
MTOUCHTASK: error MT2002: Failed to resolve "System.ServiceModel.Dispatcher.ClientOperation" reference from "System.ServiceModel.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Task "MTouchTask" execution --
寻找任何类型的解决方法,因为我们需要客户端操作在通过 ApplyClientBehavior 方法传入时配置 "Formatter" 属性。
如有任何帮助,我们将不胜感激。
我向 Xamarin 提交了这个问题,他们确认我的报告是 Mono 3.1 中的错误 - 他们已经在 Mono 4.0 中解决了它,但在撰写本文时尚未解决。希望这可以帮助可能花费数小时尝试解决它的其他人。
问题是 PCL 库 ClientOperation 无法工作,但在 MonoTouch assmebly 下它很好。 Xamarin 打开了一个私人错误,所以我没有参考号。
我们有一个在 .net SDK 中使用的自定义 JSON WCF 绑定(支持 JSON,类似于 WebHttpBinding)。我们的 SDK 是 PCL 支持 .net 4.5、Win8、IOS、Android 配置文件 - 它可以在我们的 Windows 桌面应用程序中运行,并且 Android 没有任何问题.我们刚刚开始研究 MonoTouch,并一直在追查为什么我们的自定义 WCF 绑定无法正常工作。我们能够确定在实现 System.ServiceModel.Description.IOperationBehavior 接口的 WCF class 中,MonoTouch 在尝试处理 System.ServiceModel.Dispatcher.ClientOperation.[=12= 时失败]
准确的错误是单声道"Could not load the signature of (our custom type) Failed for unknown reasons."
当我将 .csproj 链接器选项配置为 "Link SDK assemblies only" 并尝试编译时,出现错误:
Xamarin.iOS 8.6.1 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
MTOUCHTASK: error MT2002: Failed to resolve "System.ServiceModel.Dispatcher.ClientOperation" reference from "System.ServiceModel.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Task "MTouchTask" execution --
寻找任何类型的解决方法,因为我们需要客户端操作在通过 ApplyClientBehavior 方法传入时配置 "Formatter" 属性。
如有任何帮助,我们将不胜感激。
我向 Xamarin 提交了这个问题,他们确认我的报告是 Mono 3.1 中的错误 - 他们已经在 Mono 4.0 中解决了它,但在撰写本文时尚未解决。希望这可以帮助可能花费数小时尝试解决它的其他人。
问题是 PCL 库 ClientOperation 无法工作,但在 MonoTouch assmebly 下它很好。 Xamarin 打开了一个私人错误,所以我没有参考号。