Over the last year I've written a Visial Basic console app using Visual Studio 2019 and wondered not too long ago if it was possible to port it to Linux (Ubuntu 20.4 to start with). After doing a bit of googling, it seemed like it might work - just needed to port from .NET Framework 4.6 to .NET 5. Tried to suggested Microsoft method - failed big time. Did it myself by copy-paste plus a few small changes - works a treat.
My issue now is that I'd like my console app to be deployable/installable using a single installer. So far I've found a few bits on the interwebs but, me being a self confessed noob at the linux game (I can use it, but never in my life coded for it), I've elected to try and do the compiling on my windows machine.
Is this the best approach and does anyone know the dotnet command I need to compile it for ubuntu with all dependencies? I've found a few commands here and there, but they don't appear to work.