简体   繁体   English

如何在Windows 10下安装svcutil.exe

[英]How to install svcutil.exe under Windows 10

I am desperately searching for a way to install svcutil.exe because I read here and elsewhere that this was the way to compile a WSDL into C# code. 我正在拼命寻找安装svcutil.exe的方法,因为我在这里和其他地方读到这是将WSDL编译成C#代码的方法。 I tried it via Windows SDK install, which yielded a folder of about 1K installers of whom I don't know which one to start. 我通过Windows SDK安装尝试了它,它产生了一个大约1K安装程序的文件夹,我不知道从哪个安装程序开始。 Any guidance is appreciated. 任何指导表示赞赏。

NB: I am currently using Visual Studio 2017 Preview, is that related somehow? 注意:我目前正在使用Visual Studio 2017预览版,是不是有点相关?

As @AlexK. 作为@AlexK。 pointed out in his comment, the svcutil.exe is available via the "Developer command prompt for vs2017" start menu item. 在他的评论中指出, svcutil.exe可通过“vs2017的开发人员命令提示符”开始菜单项获得。

I found out the path via where svcutil and added it to my PATH environment variable. 我通过where svcutil找到了路径并将其添加到我的PATH环境变量中。 Now I can use it as required. 现在我可以根据需要使用它。 Thanks again! 再次感谢!

C:\\ Program Files(x86)\\ Microsoft SDKs \\ Windows \\ v10.0A \\ bin \\ NETFX 4.6.1工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM