O'Reilly logo

Pro C# 2010 and the .NET 4 Platform, Fifth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.2. Building C# Applications Using csc.exe

While it is true that you may never decide to build a large-scale application using nothing but the C# command-line compiler, it is important to understand the basics of how to compile your code files by hand. I can think of a few reasons you should get a grip on the process.

  • The most obvious reason is the simple fact that you might not have a copy of Visual Studio 2010 or another graphical IDE.

  • You may be in a university setting where you are prohibited from using code generation tools/IDEs in the classroom.

  • You plan to make use of automated build tools, such as msbuild.exe which require you to know the command-line options of the tools you are utilizing.

  • You want to deepen your understanding of C#. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required