Wednesday, February 20, 2013

Windows Phone toolkit 4 (How to install)

Here is how you can install the Windows Phone 8 version of the 

toolkit 



Windows Phone toolkit provides a collection of controls, extension methods and page animations to help create beautiful and consistent Windows Phone user interfaces and make common progamming tasks easier. Documentation and source are on CodePlex at http://phone.codeplex.com.
NO. 1) To install Windows Phone toolkit, run the following command in the Package Manager Console

PM> Install-Package WPtoolkit

NO. 2) via NuGet in an easy way using only Visual Studio.

Step1. Create a new Widows Phone 8 Application Project in Visual Studio:
image
Step2. If you have not used NuGet before then go to "VisualStudio Tools-> Extentions and Updates.." as demonstrated below:
image
Step3.Go to "Visual Studio Gallery" tab and type "Nuget" in the search box. Next  install "NuGet Package Manager"  as demonstrated below:
image
image image
NOTE: Once the installation has finished, you must restart Visual Studio, in order for the changes to take effect!
image
Step4. After you have installed the NuGet Package Manager just right-click the References folder in your project and from the context menu select the "Manage NuGet Packages.." option:
image
Step5-a. A new window will appear where you can search for a particular package. So just start typing "windows phone toolkit"  in the search box and you should see the "Windows Phone Toolkit " package on top. Next press install.
image
Step5-b: Alternatively you can Installing he "Windows Phone Toolkit " package using the command line:
Just go to View ->Other Windows -> Package Manager Console:
image
Next type the following code in the console:
PM> Install-Package WPtoolkit
Step6. After the installation has finished you should see the following:
image
Step7. That was all. You will notice that your project now references the Windows Phone Toolkit  assemblies and a new Toolkit.Content Model folder has been automatically added to your project. Your project is now set up and  you are ready to start using the Windows Phone Toolkit  in your application..
image
Step8. Later if you want to update to a new  version of  the Windows Phone Toolkit  , you can use the following NuGet command:
PM> Update-Package WPtoolkit
That was all about how to install Windows Phone Toolkit - October 2012 (8.0 SDK) via NuGet.

No comments:

Post a Comment