How do you compile a console application with VS Code (Windows platform)?
<p>The question is pretty straightforward. Using VS Code (not visual studio), I've been able to run it using the <code>dnx run</code> command but how am i supposed to ask for anyone to install it in order to run the application? </p>

<p>In other words, is it possible to generate an executable from VS code?</p>

<p>Update 1:</p>

<p>The selected answer is almost complete. I had to download the Microsoft Build Tools in order to use msbuild, and also had to create a .csproj file, which wasn't provided by the Yeoman generator i used to create the project.</p>