Reputation: 1217
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
Upvotes: 2
Views: 2512
Reputation: 18501
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.
Upvotes: 1
Reputation: 1677
You can download or browse Sample Codes of NuGet WPToolkit
from http://phone.codeplex.com/sourcecontrol/latest
Here, all the Custom Controls has been defined perfectly with samples. You can directly achieve the XAML and C# code through this.
Hope, this might be helpful to you. Don't forget to mark this an answer. If it helps you.
Upvotes: 2