Вопрос:

Where to get msbuild for Linux

linux msbuild .net-core

12654 просмотра

2 ответа

672 Репутация автора

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.

Автор: user69453 Источник Размещён: 27.12.2017 12:40

Ответы (2)


3 плюса

1487 Репутация автора

Решение

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.

Автор: kunif Размещён: 27.12.2017 03:15

-2 плюса

1289 Репутация автора

Command for CentOS:

yum install msbuild
Автор: Pažout Размещён: 28.05.2019 06:44
Вопросы из категории :
32x32