In order to compile the TeamServer and Client successfully you will need to add the code-offensive.net nuget feed as a new Nuget source
$ dotnet nuget add source https://nuget.code-offensive.net/v3/index.json -n code-offensive.net
Most people will want to build the Team Server for Linux and run it on an Ubuntu VM (or other distro.)
$ dotnet publish -c Release -r linux-x64 --self-contained
The --self-contained
parameter is optional, but allows you to run the application without needing to have the .NET runtime installed.