Visual Studio 2010 添加 Web 参考变灰 - Windows Phone [英] Visual Studio 2010 add Web reference greyed out - Windows Phone

查看:27
本文介绍了Visual Studio 2010 添加 Web 参考变灰 - Windows Phone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在通过添加网络引用按钮添加网络服务时遇到问题.我在 Windows Phone Developer Pack(使用 Visual Studio 2010 Express)和至极的 Visual Studio 2010 Ultimate 上进行了测试.两者都在不同的系统上(Windows 7 Ultimate x86 和 Windows 7 Ultimate x64).

I have problem with adding web service by add web reference button. I tested that on Windows Phone Developer Pack (with Visual Studio 2010 Express) and wich Visual Studio 2010 Ultimate. Both on diffrent systems (Windows 7 Ultimate x86 nad Windows 7 Ultimate x64).

在 windows 窗体应用程序项目中,所有按钮都处于活动状态并且运行良好.

In windows form application project everything button is active and working good.

之前,我在 Visual Studio 2008 pack 1 中添加了相同的 webserivce - NuSoap PHP webservice - 到智能设备 - Windows Mobile 6.5 并且工作正常.

Earlier I added the same webserivce - NuSoap PHP webservice- in visual studio 2008 pack 1 to smart device - Windows Mobile 6.5 and works fine.

屏幕上的链接:http://img130.imageshack.us/img130/6305/problempx.jpg

有什么问题?最好的问候

What is the problem? Best regards

推荐答案

这是 WP7 项目的标准行为.常规 Web 引用是一种过时的添加对旧(基于 XML)Web 服务的引用的方法.您应该改用标准的服务引用选项.

This is standard behavior for WP7 projects. A regular Web Reference is an outdated way to add references to older (XML-based) web services. You should use the standard Service Reference option instead.

这篇关于Visual Studio 2010 添加 Web 参考变灰 - Windows Phone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆