Visual Studio Build Tools 2017中缺少vs_buildtools.exe [英] vs_buildtools.exe missing from Visual Studio Build Tools 2017

查看:320
本文介绍了Visual Studio Build Tools 2017中缺少vs_buildtools.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用链接(在其他工具和框架"下方的底部)已安装了Visual Studio Build Tools 2017 )安装两个工作负载:Visual C ++构建工具和Web开发构建工具.我保留了默认文件夹.

I installed the Visual Studio Build Tools 2017 using the link (at bottom under Other Tools and Frameworks) installing both workloads: Visual C++ build tools and Web development build tools. I kept the default folder.

基于大量文章,例如> Microsoft Web应用程序目标丢失,我希望在文件夹C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin文件夹中看到vs_buildtools.exe,但是没有.正如您从此屏幕快照中看到的那样,我看到了MSBuild.exe.

Based on quite a few articles, such as Microsoft Web Application Targets is Missing, I expected to see vs_buildtools.exe in the folder: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin folder, but no. I see MSBuild.exe, as you can see from this screenshot.

这是安装程序的屏幕截图.

Here is a screenshot of the installer.

真的,有很多文章说的完全相同: 1 2 ,仅举2个.

Really, there are quite a few articles saying the exact same thing: 1, 2, to name only 2.

如何获取vs_buildtools.exe?

How do I get vs_buildtools.exe?

显然,解决我的Microsoft引起的Web应用程序目标丢失问题的唯一方法是使用此可执行文件并以

Apparently the only way to solve my Microsoft induced Web Application Targets missing problem, as it is no longer in 15.0 is to use this executable and run the vs_buildtools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools as the answer specifies. I am also annoyed now that something that should be there is not. Did Microsoft change something in a newer revision of the Build Tools?

推荐答案

如何获取vs_buildtools.exe?

How do I get vs_buildtools.exe?

您已经有了vs_buildtools.exe.

You have already got the vs_buildtools.exe.

我使用链接(位于其他工具和框架"下方的底部)安装了两个工作负载,安装了Visual Studio Build Tools 2017

I installed the Visual Studio Build Tools 2017 using the link (at bottom under Other Tools and Frameworks) installing both workloads

您会注意到安装的文件名为 vs_buildtools__339506979.1501125082.exe ,该文件名中包含版本信息.您可以将其重命名为vs_buildtools.exe.

You will notice that the installed file name is vs_buildtools__339506979.1501125082.exe, which include the version info in the name. You can rename it to vs_buildtools.exe, that is what you want.

vs_buildtools.exe的更新:

使用命令后:

vs_buildtools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools

WebBuildTools将安装在:

The WebBuildTools will be installed at:

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\WebApplications

此外,请注意 answer :

如果您已经下载了"Visual Studio的构建工具 2017安装程序 (visualstudio.com/thank-you-downloading-visual-studio/…),那么您可以 启动该安装程序,点击修改",然后勾选"Web开发版本 任务"工作负载模块复选框.然后点击修改按钮, 安装程序完成.

If you already have downloaded the "Build Tools for Visual Studio 2017" installer (visualstudio.com/thank-you-downloading-visual-studio/…), then you can launch that installer, hit Modify and tick the "Web development build tasks" workload module checkbox. Then click the Modify button and let the installer finish.

这篇关于Visual Studio Build Tools 2017中缺少vs_buildtools.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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