Compiling Component Libraries

You can use a number of methods to compile a set of components into an assembly:

• The command-line compiler

• C# or Visual Basic Express

• The full version of Visual Studio 2010

These options are explored in turn.

Using the C# Command-Line Compiler

You can use the C# or Visual Basic command-line compiler to compile a source code file, or set of source code files, into an assembly. The C# compiler is located at the following path:


The Visual Basic command-line compiler is located at the following path:



If you have installed .NET Framework SDK, you can open the SDK Command Prompt from the Microsoft .NET ...

Get ASP.NET 4 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.