"Add service reference" is disabled
2010-06-03 16:46
369 查看
In Visual Studio 2008 you can right-click a project and choose for "Add service reference" to create a proxy class for your web service. WCF preferred, of course.
But for some reason, the Visual Studio team disabled it when you're in debug mode. Something that used to work in Visual Studio 2005, so after starting a host, you could add the reference. In VS2008 this is disabled, or grayed out'.
The solution is to set your host as startup project, press CTRL-F5 so it'll be started without debugging and then you're able to choose to add the service reference.
from : http://bloggingabout.net/blogs/dennis/archive/2008/03/28/quot-add-service-reference-quot-is-disabled.aspx
But for some reason, the Visual Studio team disabled it when you're in debug mode. Something that used to work in Visual Studio 2005, so after starting a host, you could add the reference. In VS2008 this is disabled, or grayed out'.
The solution is to set your host as startup project, press CTRL-F5 so it'll be started without debugging and then you're able to choose to add the service reference.
from : http://bloggingabout.net/blogs/dennis/archive/2008/03/28/quot-add-service-reference-quot-is-disabled.aspx
相关文章推荐
- 错误 the type "xxxx" is defined in an assembly that is not refernced.You must add a reference to assem
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法【转】
- FCKeditor(2.6)出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/conf
- "Uncaught ReferenceError: $ is not defined" jquery的在线导入路径
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/asp
- "git add -A" is equivalent to "git add .; git add -u".
- Your project is not referencing the ".NETPortable,Version=v4.5,Profile=Profile259" framework. Add a reference to ".NETPortable,Version=v4.5,Profile=Profile259" in the "frameworks" section of your proj
- 让人迷惑的"Cannot add an entity with a key that is already in use."
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- "add/removeoperation is impossible, because the code element 'Cxxx' is read only" 的解决办法
- 编译出现"undefined reference to `GTK_WIDGET_REALIZED',`GTK_WIDGET_VISIBLE' "相关错误的解决方法
- WinServer 之 发布WebService后调用出现" The test form is only available for requests from the local machine. "
- BUG:Open quote is expected for attribute "{1}" associated with an element type "id".
- 解决 "the hypervisor is not running" 故障
- Uncaught SoapFault exception: [Client] Function ("") is not a valid method for this service.
- SharePoint 2013: The "New Web Application" button is disabled is the central administration
- "git add -A" is equivalent to "git add .; git add -u".
- "activity和service通信"-三大方法之-使用Messenger(信使,信差)
- [置顶] Android无法启动AVD解决方法出现"The connection to adb is down...You must restart adb and Eclipse."
- 关于"The value for the useBean class attribute is invalid" 错误<转>