Zeroray
Zeroray

Reputation: 35

How create build .net with MSBuild in Jenkins on Server Linux

I tried to configure jenkins that is mounted on a server with linux, is it possible to install msbuild.exe to compile a .NET application? or is it necessary for Jenkins to be on a windows server?

Upvotes: 1

Views: 2839

Answers (2)

Christian B
Christian B

Reputation: 691

The .NET Core SDK can be installed on Linux and comes with a tool called dotnet which can work pretty similar to MSBuild when you run it as dotnet build.

Upvotes: 1

dalmo.santos
dalmo.santos

Reputation: 79

It depends on what purpose. If it is to study, I recommend installing Jenkins on a Windows Server, then installing the .Net Framework SDK that you want to use. If it is a productive environment, I recommend installing Jenkins Master on Linux Server and a Slave on Windows Server, then installing the .Net Framework SDK that you want to use. So you do not overload the Jenkins as you compile. If you look at the version of the .Net Framework SDK, because if any font needs something specific, you will have to install the Microsoft Windows SDK. For configuration see this link.

Upvotes: 0

Related Questions