Windows Phone 7 April CTP and TransitioningContentControl

5/20/2010 1:50:00 PM

In my original screencast (read here or on Channel 9), I showed you how to use the Silverlight Toolkit’s TransitioningContentControl to add automatic transitions between pages of your Windows Phone 7 Silverlight application.  A few days after recording and posting that screencast, Microsoft released an updated version of the tools and the emulator.  Soon after, I started to get reports from folks watching my screencast that the TransitioningContentControl not only didn’t work with the April CTP release, but it prevented their entire application from running.

Bummer! ;-)  I started to dig into it, and it “appears” that the TransitioningContentControl is suffering from the bug talked about here.  I say it “appears” to be related to that because the symptoms are the same, but unfortunately, the provided fix does not work on the System.Windows.Controls.Layout.Toolkit assembly that is created by building the Silverlight Toolkit.  I think it has something to do with the fact that the System.Windows.Controls.Layout.Toolkit project uses the output of several other projects, which are probably signed as well.  I am not sure how that propagates into the final assembly, but the Powershell script does not fix things.

To solve the problem, I just went “brute force” and added the necessary source files from the TransitioningContentControl project to my own project and called it good.  A better step would have been to break that source out into its own project and create an unsigned assembly containing just the TCC that I could then reuse between Windows Phone projects, but I am assuming at this point that whatever the bug is (signed assembly or other), will be fixed in a future release.  In the interim, this get the job done.

Watch the short video (5 minutes) to see how to get things set up.  Skip to the 2:30 mark if you want to get right to the step required to add TCC directly to your project.

Download source here


Screencasts | Windows Phone


5/21/2010 5:56:29 AM

At around 3.40 in the video you go o the "Backup" folder of the Silverlight 3 Nov09 Toolkit.
That folder as well as a few others does not exist for me, have you done anything special for it to be there?
Thanks, Brett

Brett Ireland

5/22/2010 2:19:17 PM

I dont remember doing anything special in that folder.  Strange.  I have linked to the project that I created in the video so you can get all the necessary file there.

JAB United States

5/24/2010 9:08:09 AM

Cheers for that, Got it working. I'm looking forward to your Third tutorial on the subject when the Next Refresh Comes out ;)

Brett Ireland

5/31/2010 10:36:00 AM

Very useful, thank you for following up with this.

Wayne United States

Comments are closed

Powered by BlogEngine.NET
Theme by Mads Kristensen

About the author

Jeff Brand Jeff Brand

This is the personal web site of Jeff Brand, self-proclaimed .NET Sex Symbol and All-Around Good guy. Content from my presentations, blog, and links to other useful .NET information can all be found here.

E-mail me Send mail


<<  August 2014  >>

View posts in large calendar

My Twitter Updates


Recent comments


The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2014

Sign in