Jaime Rodriguez On Windows Phone, Windows Presentation Foundation, Silverlight and Windows 7
There were a good number of breaking changes and new features introduced in the “beta” release of the Windows Phone Developer Tools. Going forward from beta to RTM; the number of breaking changes will be minimal, so let’s just “buckle up” and migrate our code this once. The migration is a lot easier than it sounds. I will first walk through the obvious breaking changes that the compiler will catch, and then share tips and workarounds in some of that ‘missing’ stuff that the compiler will miss. Once you have gotten through this, don’t forget to read my post on the new features in the beta release so you can start taking advantage of these. Breaking changes:
To fix: You should just remove the references to effects from XAML and code. You can use graphics (e.g. gradients for dropshadows) to try to get similar look & feel. Not exactly the same, but best workaround I can think of until Microsoft brings these back in a future version of the platform.
To fix: simply replace the namespace and/or class name and reference the new assembly (if applicable)
Steps for migrating your code (referenced above as MigrationTips.X ) :
Search for Replace with: PhoneTextPageTitle1Style PhoneTextNormalStyle PhoneTextPageTitle2Style PhoneTextTitle1Style PhoneTextApplicationNameStyle PhoneTextNormalStyle PhoneTextTitleNameStyle PhoneTextTitle1Style
Closing Advise/asks: Please share back your experiences and tips!! I know this document is not 100% comprehensive. If you run into one change that I missed or get stuck along the way, please email me directly [via email blog author on the sidebar column] so we can update and improve this document.
Don’t forget to read the release notes. This document overlaps with some of the content in the release notes, but I focused on migration, so there are other tips and known issues there that will be useful to you; please take a look at the release notes.
Happy Windows Phone coding!
Today at Internet Week New York we are launching Expression Studio 4. This new version is shipping just 10 months after Expression Studio 3 and includes support for Silverlight 4, .NET 4, and interop with Visual Studio 2010 and TFS 2010.
In this version we are also moving to a new SKU lineup which aligns with the new Visual Studio and MSDN levels. There are now three levels of Expression Studio: Expression Studio Web Pro, Expression Studio Premium, and Expression Studio Ultimate.
Important Note: If you are developing in Silverlight for Windows Phone 7, do not install the released version of Expression Studio 4. You must continue to use the Blend 4 Beta and Add-in Preview for Windows Phone. This Beta will be refreshed with each Phone SDK pre-release and will be unified with released Blend 4 in a service pack which will release when the Windows Phone SDK releases.
Congratulations to the Blend team!