Search code examples
c#visual-studio-2012windows-phone-8windows-phone-8-sdkwindows-phone-toolkit

Visual Studio 2012 (x64) - Windows Phone Toolkit - How to Add WP toolkit custom controls to toolbox in VS


The problem is following:

I have Visual studio 2012 (x64) with Windows Phone 8 SDK installed on Windows 8 (x64).

In my project (WP8 App targeting WP 8.0 with .NET 4.5), I have Added (through NuGet) Windows Phone Toolkit and I would like to add the custom controls that it provides to toolbox. Is there a way to do it?

I managed it once but for some reason I was not able to add LongListSelector from toolbox after that.

EDIT:

WHAT I WANT IS FOR THE CUSTOM CONTROLS ADDED IN WP TOOLKIT TO BE SHOWN IN THE TOOLBOX in VS 2102


Solution

  • Please refer to this answer. When adding controls, browse to the WP Toolkit folder. For your convenience, the specific answer is copied to here as following:

    In my windows 8 machine it usually points to
    your project where WPToolkit is installed
    [WPtoolkit.4.2013.08.16\lib\sl4-windowsphone71\Microsoft.Phone.Controls.Toolkit.dll]
    Please note, Although, I have chosen a WP8 project, I had to choose the 7.1 dll to make to add it to the Toolbox. the wp8 folder failed to add.