Silverlight Compilation and Deployment

Now that you've seen how to create a basic Silverlight project, add a page with elements and code, and run your application, it's time to dig a bit deeper. In this section, you'll see how your Silverlight is transformed from a collection of XAML files and source code into a rich browser-based application.

Compiling a Silverlight Application

When you compile a Silverlight project, Visual Studio uses the same vbc.exe compiler that you use for full-fledged .NET applications. However, it references a different set of assemblies, and it passes in the command-line argument nostdlib, which prevents the VB compiler from using the standard library (the core parts of the .NET Framework that are defined in mscorlib.dll). ...

Get Pro Silverlight 5 in VB 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.