如何在命令提示符下使用svcutil.exe [英] How to use svcutil.exe in command prompt

查看:612
本文介绍了如何在命令提示符下使用svcutil.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海,


我创建了一个wcfservice.之后,我想在c#.net Web应用程序中使用此wcfservice.我的疑问是,为什么我们在命令提示符下使用svcutil.exe来消耗服务.如果我键入svcutil.exe,它将显示错误"svcutil"未被识别为内部或外部命令.

请清除此疑问

在Advance中致谢

Hai,


I created a wcfservice.After that I want to use this wcfservice in my c# .net web application.My doubt is why we are using svcutil.exe in command prompt for this to consume service.If I type svcutil.exe it showing error "svcutil"is not recognised as an internal or external command.

Please clear this doubt

Thanks in Advance

推荐答案

对于在命令提示符下使用Visual Studio工具,我们应该使用

For using Visual Studio Tools from the command-prompt we should use the Visual Studio Command Prompt. This command-prompt sets the Path environment-variable, to contain the path of the needed tools.


这篇关于如何在命令提示符下使用svcutil.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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