简体   繁体   English

如何仅安装 VS2015 的开发人员命令提示符

[英]How to install just the Developer Command Prompt for VS2015

Is there any way to install just the Developer Command Prompt for VS2015 without installing VS 2015?有没有什么方法可以在不安装 VS 2015 的情况下只安装 VS2015 的开发人员命令提示符? I have a server where I need to install a service using the command prompt "installutil Service.exe" and I don't want to install the entire visual studio.我有一台服务器,我需要在其中使用命令提示符“installutil Service.exe”安装服务,但我不想安装整个 Visual Studio。

InstallUtil is installed as part of the .Net Framework. InstallUtil作为 .Net Framework 的一部分安装。 The developer command prompts simply add values to the PATH variable to make the command prompt resolve the proper binaries.开发人员命令提示符只是将值添加到PATH变量,以使命令提示符解析正确的二进制文件。

If you want to run install util, just use the full path:如果要运行 install util,只需使用完整路径:

C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\InstallUtil.exe C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\InstallUtil.exe C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\InstallUtil.exe C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\InstallUtil.exe

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

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