哪里可以获得 Linux 的 msbuild [英] Where to get msbuild for Linux

查看:29
本文介绍了哪里可以获得 Linux 的 msbuild的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Windows 和 Linux 上构建一个 .net 核心项目.

I want to build a .net core project on Windows and Linux.

对于 Windows,我使用 MSBuild,只需从 visualstudio.com.

For Windows I use MSBuild, simply downloaded the Build Tools für Visual Studio 2017 from visualstudio.com.

但是我从哪里获得适用于 Linux 的 MSBuild?基于 GitHub 项目站点,它应该可用于某些 Linux 发行版 (README.md).我不想自己编译(出于某些原因).

But where do I get MSBuild for Linux from? Based on the GitHub Project site, it should be available on some Linux distributions (README.md). I do not want to compile it myself (for some reasons).

不想使用 xbuild,而是使用纯 MSBuild.

I do not want to use xbuild, but pure MSBuild.

推荐答案

您可以按照这些 URL 中的说明获取 .NET Core SDK.
它针对每个 linux 发行版进行划分.

You can obtain .NET Core SDK as described in these URLs.
It is divided for each linux distribution.

RHEL
Ubuntu
Debian
CentOS/Oracle
SLES/OpenSUSE

更新时间:2019-03-19

适用于 Linux、macOS 和 Windows 的 .NET 下载
选择所需操作系统的选项卡,然后下载.

.NET Downloads for Linux, macOS, and Windows
Select the tab for the desired OS and then download.

相关.
Microsoft/msbuild
msbuild/documentation/wiki/Building-Testing-and-Debugging-on-.Net-Core-MSBuild.md

无需构建代码即可获取 .Net Core MSBuild 二进制文件
获得 .NET Core MSBuild 的最佳方法是安装 .NET Core SDK,它重新分发我们.这将为您提供适用于 .NET Core 的最新发布版本的 MSBuild.安装后,您可以通过 dotnet build 或手动调用 dotnet 发行版中的 MSBuild.dll 来使用 MSBuild.

Getting .Net Core MSBuild binaries without building the code
The best way to get .NET Core MSBuild is by installing the .NET Core SDK, which redistributes us. This will get you the latest released version of MSBuild for .NET Core. After installing it, you can use MSBuild through dotnet build or by manual invocation of the MSBuild.dll in the dotnet distribution.

这篇关于哪里可以获得 Linux 的 msbuild的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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