title: Compiling C# code from the command line gives error
body: <p>I am following this tutorial:</p>
  
  <p><a href="http://www.csharp-station.com/Tutorials/Lesson01.aspx" rel="nofollow noreferrer">http://www.csharp-station.com/Tutorials/Lesson01.aspx</a></p>
  
  <p>I pasted this into a text file, named it Welcome.cs:</p>
  
  <pre><code>// Namespace Declaration
  using System;
  
  // Program start class
  class WelcomeCSS
  {
      // Main begins program execution.
      static void Main()
      {
          // Write to console
          Console.WriteLine("Welcome to the C# Station Tutorial!"); 
      }
  }
  </code></pre>
  
  <p>Then I went into the command prompt, and pointed to the file's directory. I typed <code>csc.exe Welcome.cs</code> and got this error message:</p>
  
  <pre><code>csc.exe is not recognized as internal or external command
  </code></pre>
  
  <p>I am using Visual Studio 2008</p>
  
  <p>I tried moving csc.exe to the Windows directory, and now I am getting this error:</p>
  
  <pre><code>fatal error cs2018: unable to find messages file 'cscompui.dll'
  </code></pre>
  
  <p>How can I compile my C# code from the command line?</p>