As most of you might know, Visual Studio 2010 Beta 2 was released some days ago. Ever since, many people have asked at the Prism codeplex forums if Prism works with this latest version. That's why with Fer we decided to migrate Prism latest release for Silverlight 3 to VS 2010 Beta 2. Our conclusion after our smoke tests is that it does work :) .
Migration Steps
- Migrated every solution.
- Ran the tests and smoke tested each application.
- Fixed any issues that appeared (mostly related to missing assembly references).
- As a little extra, we added the White assembly references required to run the acceptance tests.
Changes Required
Below you can find a small explanation of the changes required for the migration:
- The Reference Implementation Tests fail (4 tests) when you run them. The fix is explained in this thread.
- Many projects will throw a missing assembly reference exception related to "System.Xaml.dll". You need to add this assembly as a reference in most test projects.
- The Multitargeting Quickstart throws an error when running it. To fix it, change the Resources constructor modifier from internal to public.
- Some build errors might be thrown because of code analysis issues in Silverlight projects (CA:0055 Analysis of Silverlight assemblies is not supported):
- Uncheck the "Enable Code Analysis on build" check box in the Code Analysis tab.
- Make sure code analysis is not one of the compilation symbols in the Build tab.
Download
The code provides all the fixes performed, and is provided "AS IS" with no warranties and confers no rights. It is shipped under the "works on my machine" license. You can download it from here.
I hope this saves you the trouble of migrating Prism to VS 2010.