在哪里获得适用于Linux的msbuild [英] Where to get msbuild for Linux

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

问题描述

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

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

对于Windows,我使用MSBuild,只需从 visualstudio.com 下载Build Tools für Visual Studio 2017.

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

但是我从哪里可以获得MSBuild for Linux?基于GitHub Project网站,它应该在某些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

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/在.Net-Core-MSBuild.md上构建测试和调试

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

无需构建代码即可获取.Net Core MSBuild二进制文件
获得.NET Core MSBuild的最佳方法是安装 .NET Core SDK ,该发行版将重新分发我们.这将为您提供MSBuild for .NET Core的最新发行版本.安装后,可以通过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天全站免登陆