title: Compile a single standalone file in visual studio via its command line
body: <p>I simply would like to check if my standalone file compiles.</p>
  
  <p>This by using the in-build Visual Studio (2020) command line.</p>
  
  <p>My File ('MyFile.cpp') is open in visual studio tabs.</p>
  
  <p>Must say that I do have a project loaded already to Visual Studio, this file i want to check is irrelevant to this project.</p>
  
  <p>I tried different things, but it always ended up compiling my entire project and not my file.</p>
  
  <p>I do not wish to create a project for that file.</p>
  
  <p>Is there a command i can run in command line of visual studio?? something like "CompileOnly MyFile.c"?</p>
  
  <p>That will compile it using same method as it compiles the entire project.</p>