我正在使用我创建的 WCF 服务创建一个 windows phone 应用程序,但是当我更新引用时它停止识别它存在?
I'm creating an windows phone app using a WCF service I've created, however when I update the reference its stop recognising that it exisits?
我的服务一直运行良好我已经更新了很多次当我进行更改时但是这次由于某种原因当我更新它时我收到错误'类型或命名空间名称'Service reference 1 does not exist'
但是如您所见。我试过删除该服务并读取它,但它确实解决了问题。有人知道为什么会这样吗?
- 右键单击 ServiceRefernce 文件夹下的引用服务。
- Select 在菜单中配置服务引用以访问服务引用设置。
- 在程序集列表上方,Select "Reuse types in specified referenced assemblies:"。
- 检查列表 "System.ServiceModel" 并按确定。
我的服务一直运行良好我已经更新了很多次当我进行更改时但是这次由于某种原因当我更新它时我收到错误'类型或命名空间名称'Service reference 1 does not exist'
但是如您所见。我试过删除该服务并读取它,但它确实解决了问题。有人知道为什么会这样吗?
- 右键单击 ServiceRefernce 文件夹下的引用服务。
- Select 在菜单中配置服务引用以访问服务引用设置。
- 在程序集列表上方,Select "Reuse types in specified referenced assemblies:"。
- 检查列表 "System.ServiceModel" 并按确定。