Assuming there is no Microsoft content in VMS itself, the use of Microsoft Visual Studio wouldn’t be limited by the GPL but by its own license if, like later Windows component licenses, it states that it can only be run on Windows. Linux has Wine if it is desired to run a more or less Windows compatible environment under it. Whether used on Windows or Linux, the Studio would also have the issue of the cost of its licenses (though maybe old versions in the back of some dusty warehouse could be had for a song).
There are so many complications with Linux running windows apps. There is even the Linux ndiswrapper used to run windows drivers under Linux, a very questionable practice.
It is much more legitimate to buy devices that have native Linux drivers, or to develop a Linux driver for the device.
As for running windows apps in Linux, it’s best to install Windows as a virtual guest with a valid Microsoft license.
By the way, this is one of the safest ways to run Windows. You have complete control over the network and the built-in iptables firewall.
There is a version of Visual Studio that is free. I know of no license restrictions on software from it and I cannot imagine how it could even be enforced. I can code in notepad and in VS and they compile the same.