Migrate from Silverlight 2 to 3

Just a quick note on this as I still found people stuck with this error:

Error: Unhandled Error in Silverlight 2 Application
Code: 2106   
Category: InitializeError      
Message: Failed to load the application. It was built with an obsolete version of Silverlight
    

 

This might happen every time you download a sample which was build with Silverlight 2, and you open it in VS2008 updated to Silverlight 3.

The solution is very easy:

Delete the xap file in ClientBin folder and rebuild the Silverlight project.

 

Technorati Tags:
Published Tuesday, September 01, 2009 11:02 PM by pluginbaby

Comments

Tuesday, September 01, 2009 7:24 PM by Migrate from Silverlight 2 to 3 - Laurent Duveau

# Migrate from Silverlight 2 to 3 - Laurent Duveau

Pingback from  Migrate from Silverlight 2 to 3 - Laurent Duveau

Monday, September 07, 2009 12:05 PM by ClHandbook

# re: Migrate from Silverlight 2 to 3

Thank you very much. This error had been causing me headaches for hours until I found your blog. Wow such an easy solution to something that wasted 3 hours of my time.