This is my older post but I wanted to move it here on Blogspot.
Recently I made an update on my dev machine with the SP1 for Visual Studio 2008 and Silverlight-2. I made these steps:
For more detailed information you could read these posts from Mike Snow and Jesse Liberty
Recently I made an update on my dev machine with the SP1 for Visual Studio 2008 and Silverlight-2. I made these steps:
- Installed Visual Studio 2008 Service Pack 1 from here (it is good to read the IMPORTANT paragraph from this page)
- I had Expression Blend 2.5 June 2008 Preview which I substituted with Expression Blend 2 and then updated it with the SP1 from here
- Installed the Microsoft Silverlight Tools for VS2008 SP1(RC1) from here
- Changed the <object> tag from <object data="data:application/x-silverlight," type="application/x-silverlight-2-b2" > to <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" >
- After step 1 I was getting this error AG_E_RUNTIME_MANAGED_UNKNOWN_ERROR. To resolve this I fixed the references to the vsm namespace (xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows") and changed the <vsm:Application.Resources> to <Application.Resources> in my App.xaml file.
- After step 2 I was getting this error AG_E_PARSER_PROPERTY_NOT_FOUND. To resolve this I "Search and Replace"-ed vsm:Setter to Setter within the entire solution.
- In my ScrollViewer Style where has been defined TextAlignment and TextWrapping properties, there were XamlParseExceptions and I removed those properties. I found out that ScrollViewer and other ContentControl derived classes have no longer TextXXX properties because of WPF compatibility.
- I had warnings on the "Foreground" property in the ContentPresenter type. I removed it. Also, I had a compile error on the "Duration" property on Visual Transition, I found out that it has changed to GeneratedDuration.
For more detailed information you could read these posts from Mike Snow and Jesse Liberty
Comments
Post a Comment