【发布时间】:2015-04-05 21:32:23
【问题描述】:
我在 Windows 上使用 Xamarin Studio 来制作 Android 应用程序(便携式 Xamarin.Forms 项目)。我正在尝试使用此页面上的指南使用 Web 服务:“使用 SOAP 服务”部分中的 http://developer.xamarin.com/guides/cross-platform/application_fundamentals/web_services/。
但是,我似乎根本无法让它工作。我可以成功生成代理(使用此公共 url:http://wsf.cdyne.com/WeatherWS/Weather.asmx 进行测试)。将生成一个名为“Reference.cs”的新文件。
但是文件 Reference.cs 会产生几个编译错误:
错误 CS0234:命名空间“System.Runtime.Serialization”中不存在类型或命名空间名称“IExtensibleDataObject”(您是否缺少程序集引用?)(CS0234)(XamarinFormsTutorial)
.. 和其他 41 人(所有 CS0234)
有人知道发生了什么吗?
【问题讨论】:
-
@Michael 你能帮我如何使用 Visual Studio 构建相同的流程
标签: c# xamarin xamarin.forms xamarin-studio