As you may know, last Friday a new drop of the Composite Application Guidance for WPF & Silverlight was released.
As Erwin said in this post, one of the breaking changes of this new drop is that they removed the .Silverlight and .Desktop extensions from the Assembly names. If you are like me and have more than one solution using Prism v2 with a bunch of projects, you will probably find really annoying going over each project to update the references and the xaml files.
So, in order to accomplish this, I created a Powershell script that will look for all the .csproj and .xaml that contain references to the old prism assemblies and will update it to the new version of them.
Note: If you have your code in TFS, make sure to go offline before running the script, so when you go back online it will detect the changes.
This code is provided “AS IS” with no warranties, and confers no rights.
You can find the script here.
Hope you find it useful.