问题描述
我尝试添加对SOAP WebService的引用.毫无疑问,将其添加到项目的Windows 8.1部分中.
I try to add a reference to a SOAP WebService. No problem adding it to the Windows 8.1 part of the project.
但是没有机会对WP 8.1进行同样的操作.不知何故,我只能添加一个新的推送通知"作为参考.
But no chance to do the same for the WP 8.1. Somehow I could only add a new "Push Notification" as a reference.
将生成的reference.cs添加到WP项目中会直接导致System.ServiceModel中有许多未解析的引用(即找不到System.ServiceModel.Channels).
Adding the generated reference.cs to the WP project directly leads to many unresolved references in System.ServiceModel (i.e. System.ServiceModel.Channels not found).
有什么主意吗?也许它不在当前的Beta中?
Any idea?Maybe its not in the current beta?
VS 2013 Update 2 RC.
VS 2013 Update 2 RC.
推荐答案
虽然不是适当的解决方案,但Microsoft已发布了一种解决方法:
While not a proper solution, a workaround has been posted by Microsoft: WCF Add Service Reference Not Supported for Windows Phone 8.1 XAML Applications
这篇关于Windows Phone 8.1通用应用程序中的SOAP服务参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!