Friday, January 18, 2013

Using Silverlight Toolkits

Quick tip:  When using the Silverlight Toolkits keep in mind they typically target a specific version of Silverlight.

I recently installed Silverlight 5 and the Silverlight 5 toolkit.  I added a reference to a v5 component and it appeared in my designer but my code behind gave an error it couldn't find the reference to the control.

As it turns out someone else on my team using TFS didn't have Silverlight 5 installed (only 4) and checked in to TFS with the project target as v4.  Switching it back to v5 fixed the issue.

So be sure to check the target version if you're having trouble with a control from one of the toolkits!