Search code examples
windows-phone-7silverlight-toolkit

problem integrating silverlight toolkit in VS2010 project


i've installed silverlight toolkit from codeplex (NuGet didn't work, feed was empty.. probably working on the project) and after referencing

Microsoft.Phone.Controls.Toolkit

I get the error :

The type or namespace name 'Toolkit' does not exist in the namespace 'Microsoft.Phone.Controls' (are you missing an assembly reference?)

What could it be?


Solution

  • Because your xmlns is calling it toolbox but the prefix is toolkit.

    Change

    xmlns:toolbox="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    

    to

    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    

    Or, change your prefix to toolbox. It doesn't matter what you call it; it just has to be consistent.