Where to get msbuild for Linux [duplicate]

梦想与她 提交于 2019-12-21 09:17:38

问题


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

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

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).

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


回答1:


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


Updated:2019-03-19

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

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

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.



来源:https://stackoverflow.com/questions/47992371/where-to-get-msbuild-for-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!