Thursday, April 30, 2015

Compile a Visual Studio solution in Visual Studio Code on OSX

Microsoft has launched Visual Studio Code, an IDE for C#, Javascript, Typescript and many more. It is a shell over Atom and runs also on OSX and Linux!

I wanted to see if it is possible to compile a Visual Studio solution (.sln file from Windows) in Visual Studio Code on my Mac (using Mono).

As you can see in the screenshot below; it worked! All I had to do is add a task
(CMD+P => 'Configure Task Runner', this will create and show the tasks.json file. Erase all and just type in the command and the args){ "command" : "xbuild", "args": ["Hello.sln"]}