How to install dotnet sdk on buildkite agent


#1

I would like to install dot net core sdk and cli so that I can build my .net solutions, what is the recommended way of doing this?


#2

Hi @ftaran! Our agent is just a binary that you run on your hosts to execute builds. Depending on which user you run buildkite-agent start as on your host, you should have access to everything that user does on that machine. In your case, I’d suggest installing whatever .NET things you need on the host and checking that they work, and then running buildkite-agent on that machine.

The other approach here is to use docker. I believe there are .NET docker images now that you could use to run your builds in a repeatable way without depending on any software installed on the build host.

Hope that helps!