如何在命令提示符下使用svcutil.exe

编程入门 行业动态 更新时间:2024-10-24 19:20:24
本文介绍了如何在命令提示符下使用svcutil.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

Hai, I created a wcfservice.After that I want to use this wcfservice in my c# 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工具,我们应该使用 Visual Studio命令提示符.此命令提示符设置Path环境变量,以包含所需工具的路径.

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

本文发布于:2023-11-05 07:40:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560269.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令提示符   如何在   exe   svcutil

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!