Running .NET on Linux, using the Red Hat Container Development Kit (CDK), means your Linux VM is running “headless” — you don’t have a desktop UI. You have a command line, and that’s it.
Note: If you aren’t running .NET on Linux, hop over to the Red Hat Developer’s web page and download the CDK to get started.
Red Hat Enterprise Linux’s built-in editor, VIM, which is launched by the command vi
, is not a full-featured development environment. Not even close. That’s like saying a first-grader in the annual holiday play isn’t Meryl Streep; there’s a world of difference.
So what is a Windows developer to do? You’re accustomed to using Visual Studio — the worlds greatest development environment in my not-so-humble opinion — but you want to start developing code on your Linux VM.
The short answer is “Shared Volume”. Since we’re going to assume that the CDK is being used, this blog post will get down to the very specifics you need. Following these instructions, you can share a directory|folder (“directory” is the chosen vocabulary in Linux; “folder” is more frequently used in Windows) between the Linux VM and Windows, then use any editor to edit your code. Of course, you’ll choose Visual Studio, because it’s so awesome.
Continue reading “Using Visual Studio with Linux (Hint: Windows is still required)”