Silverlight 4 Upgrade Breaks Silverlight Debugging Experience

A design change in the Silverlight 4 installer now causes older developer runtime to be upgraded when a newer client runtime installer is executed.  This causes the Silverlight debugging components to be uninstalled, and breaks the debugging experience: The workaround for this is to install the latest Silverlight developer runtime, which you can find at…

0

Finding the Visual Studio Activity Log

Sometimes when something goes wrong in Visual Studio, you might see the following dialog: We’ve had a number of users comment that the couldn’t find the file.  This is because the file is only written when you run Visual Studio’s executable (devenv.exe) with the /log parameter.  If you are reporting an issue to us (especially…

2

64-Bit Team Build Fails on Silverlight Projects (and How to Fix It)

If you have a Silverlight project under source control, and try to build it on a 64-bit Team Build (or similar) server, you may encounter the following error: After checking the immediately obvious (i.e. is the SDK installed), you might wonder why this is happening.  It has to do with the build running under 64-bit…

4

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

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

Silverlight Tip: Reflecting Objects Horizontally or Vertically using ScaleTransform

While working on a Silverlight application, I wanted to have two instances of a class which faced each other.  After exploring the available transforms, I eventually remembered how to do it simply by scaling the object in a negative direction. First, we need an object to reflect.  You can reflect any control this way, be…

1