title: Could I use MSBuild as C++ compiler with Visual Studio code if I can't create the vcxproj file?
body: <p>My ultimate goal is to able to use Visual Studio Code to write and run simple C++ programs. I have installed Visual Studio Code and MSBuild (Visual Studio Build Tools 2017) on my machine. 
  <br>I do not have Visual Studio IDE installed on my machine. So, I have no easy way to create *.vcproj and *.sln for the code that I write.</p>
  
  <p>So, here is what I do: I write a simple C++ program and save the file as test.cpp. And then, even before creating a build task in VS code, I wanted to verify if MSBuild works. So, I ran the following command.
  <br>
  <code>msbuild.exe /t:ClCompile /p:SelectedFiles="test.cpp"</code>
  <br> and it returns the following error: 
  <br><code>error MSB1003: Specify a project or solution file. The current working
   directory does not contain a project or solution file. </code></p>
  
  <p>Is it possible to use MSBuild to compile a single C++ file?</p>
  
  <p>Reference: <a href="https://stackoverflow.com/questions/4172438/using-msbuild-to-compile-a-single-cpp-file">Using MSBuild to compile a single cpp file</a> - This page suggest that I should be able to run MSBuild to compile a single C++ file since VS 2010. </p>