如何在Visual Studio 2005中添加WCF服务引用? [英] How to add WCF service reference in Visual Studio 2005?

查看:118
本文介绍了如何在Visual Studio 2005中添加WCF服务引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要什么才能允许Visual Studio 2005向项目添加WCF服务引用?

What do I need to allow Visual Studio 2005 to add WCF service reference to a project?

我知道我应该只使用Visual Studio 2008,但是我正在为客户端尚未安装VS2008的假设"情况做准备.

I know I should just use Visual Studio 2008, but I'm preparing for a "what-if" situation where the client does not have VS2008 just yet.

推荐答案

如果要集成Visual Studio 2005,则必须至少安装.net 3.0.然后,客户端可以使用svcutil.exe生成代理.

If you want visual studio 2005 integration they have to have at least .net 3.0 installed. The client can then use svcutil.exe to generate the proxy.

在此处了解如何使用orcas扩展名在VS 2005中使用WCF:
http://www.15seconds.com/issue/061130.htm

Take a look here on how to use WCF in VS 2005 using the orcas extensions:
http://www.15seconds.com/issue/061130.htm

或者:
据我所知,MS从未发布过针对VS2005的最终WCF插件,但最终的CTP仍然存在:

Alternatively:
From what I can tell MS never released a final WCF add in for VS2005, but the final CTP is still out there: http://downloads.zdnet.co.uk/0,1000000375,39328336s,00.htm

您可以使用该WCF插件,而不用15秒文章中提到的更通用,更beta的orcas扩展名.我相信CTP会为您提供添加服务参考"选项.

You can use that WCF add in instead of the more general and more beta orcas extension that is mentioned in the 15 seconds article. I believe the CTP will give you the "add service reference" option.

这篇关于如何在Visual Studio 2005中添加WCF服务引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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