MSBuilding Web Site Projects doesn’t Copy Silverlight XAP (and How to Fix It)

If you have a Silverlight application that is consumed by a Web Site Project in Visual Studio (not to be confused with a Web Application Project), and you use msbuild on your solution, you may find that the XAP file is not copied to the website.  This will also happen if your solution is building…

2

Refactoring Root namespace Breaks Silverlight Applications (and How to Fix It)

One scenario that happens fairly often for new apps is to create a new project and then part way through decide you want to rename it, or at least the default namespace.  With Silverlight apps, when you do this and try to run your project, you’ll see an error: Line: 56Error: Unhandled Error in Silverlight…

3

Silverlight 3 Support in VS2010 Beta 2

This evening I put up a blog post on my team’s blog to summarize some of the changes that have come in the Beta 2 release of VS2010 with regards to Silverlight development.  Check it out and leave any feedback. If you’re trying out the new beta, please give feedback and tell us what you…

0

VS2010 Beta 2 installation issue with Silverlight 3 SDK

Some folks have already started trying out the latest VS2010 release, and have been receiving installation failures for the Silverlight 3 SDK.  This is a known issue, and fairly easy to work around. The problem is caused by having the Silverlight 3 RTW version of the SDK installed (3.0.40624.0).  VS2010 tries to install the Silverlight…

0

Debugging Silverlight Applications in Out Of Browser Mode

On an internal mailing list yesterday, someone asked how to debug their Silverlight 3 application as it runs Out of Browser.  They were seeing some behavior that would only reproduce in the first few seconds and only in OOB mode.  Fortunately, you can install your app locally and then debug it directly in the Out…

7

Upgrading to Silverlight 3 Tools for VS2008 (RTW)

With the release to web (RTW) of Silverlight 3, a lot of folks will [hopefully] be upgrading to take advantage of the new features now offered.  The first question that will come up probably is, “how do I upgrade?”  Upgrading should actually be a very easy experience.  The Silverlight 3 Tools installer will do most…

2

Setting up Silverlight Development in Visual Studio 2010 Beta 1

There’s been some confusion with setting up Silverlight development the VS 2010 Beta 1 release, since the Silverlight SDK and developer runtime are part of the installation.  In order for Silverlight to work in VS2010, you need to install both the SDK and developer runtime, but there is not a separate package for the Silverlight…

0

Using Silverlight 3 beta’s Transparent Platform Extension and Out of Browser Features in Dev10 Beta 1

In Dev10 Beta 1, which was just released, there isn’t any way to enable the Transparent Platform Extensions (aka Assembly Caching) or Out of Browser features for Silverlight 3 Beta.  To enable these manually is pretty straight forward.  However, you should note that they are currently incompatible with each other; you can use one or…

1

Making the Silverlight-Enabled WCF Service in Dev10 Beta 1 Work with Silverlight 2

In Dev10 Beta 1, the Silverlight-enabled WCF Service template is the version used for Silverlight 3 beta.  This uses a custom binding to enable binary encoding, and is incompatible with Silverlight 2 applications.  If you attempt to add a reference to it, you’ll see errors like the following: (note that you might also see this…

1

Understanding Issues Installing Silverlight 3 via Web Platform Installer

With the release of the Web Platform Installer 2.0 beta at MIX last week, you can now install any of the cool development packages we’ve been releasing with a single combined application.  However, there are a couple issues that can come up, especially around the Silverlight Tools packages.  If your Silverlight Tools package fails to…

5