Wednesday, 8 October 2008

C# Command Line

Compiling a program from the command line in C# is pretty simple.
  • First you must locate the file, csc.exe.
Mine is located at C:\Windows\Microsoft.NET\Framework\v3.5 the location of the file on your computer may be different depending on which version of C# you're using. (I'm using Express Edition 2008)

Add the file location to your path environment variable & open a command prompt.

  • Instructions on building your app can be found on this page.

Powered by ScribeFire.

Bookmark and Share
Post a Comment