如何在命令提示符下使用svcutil.exe [英] How to use svcutil.exe in command prompt
问题描述
海,
我创建了一个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
推荐答案
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屋!