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:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe

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

C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.