没有完整安装Visual Studio的情况下如何获取MSBuild 15? [英] How to get MSBuild 15 without a full install of Visual Studio?

查看:1185
本文介绍了没有完整安装Visual Studio的情况下如何获取MSBuild 15?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"MSBuild现在已安装在每个Visual Studio版本下的文件夹中."但是,我不想在服务器上安装完整的VS. "MSBuild现在作为 .NET Core SDK 的一部分提供."

现在我已经安装了.Net Core 2.1 SDK(和4.7.2框架),msbuild.exe的路径是什么?

安装 VS构建工具,在安装界面中未选择其他软件包.

上面的更新链接更新到较旧的下载.展开2017面板,单击下载,使用Microsoft帐户登录,然后在可用下载列表中将看到Visual Studio 2017的构建工具(版本15.0).

C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ MSBuild \ 15.0 \ Bin \ MSBuild.exe

"MSBuild is now installed in a folder under each version of Visual Studio." However, I do not want to install a full VS on the server. "MSBuild is now available as part of the .NET Core SDK."

Now that I've installed the .Net Core 2.1 SDK (and the 4.7.2 Framework), what is the path to msbuild.exe?

解决方案

MSBuild.exe 15 was found after installing the VS Build Tools with no additional packages selected in the install interface.

Edit: Updated link above to go to older downloads. Expand 2017 panel, click Download, login with a Microsoft account, then you will see Build Tools for Visual Studio 2017 (version 15.0) in the list of available downloads.

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe

这篇关于没有完整安装Visual Studio的情况下如何获取MSBuild 15?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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