This is untested but meant for Ubuntu read how to setup here
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu
Source was built with VS 2017 .Net 2.1 This is really meant for VPS. If you have a Linux with GUI wouldn't even bother with this. You can just use wine https://wiki.winehq.org/Ubuntu