I just wanted to point out a possible solution for installation of visual studio on linux, windows, or mac via virtual machines.
Microsoft developer network provides a two month trial windows 10 virtual machine that will run in Vbox, Parallels, VMware and HyperV with an already installed visual studio 17. The VM expires in a couple of month is why this is legal. I use vbox and keep all my code on a shared folder so nothing is lost just delete the machine and start over.
The download is ~20gb and the ending virtual box drive created is 126gb so lots of space will be needed to run this virtual machine.
Here is the link to Microsoft development virtual machines: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines
For Windows users you can also install VS 2017 via chocolaty which is a package manager for powershell. Via chocolaty you can also install git and poshgit which gives a nice powershell color prompt for command line git operations.