Telerik blogs

Introduction

For those who have already setup a NuGet package repo, you will need to make a few minor changes in order to get UI for Windows Phone update. If you are not familiar with the process of setting up a local NuGet package repo, then please check out Carey Payette’s blog post located here. I’ll assume you have your local NuGet package repo setup as I proceed through this blog post.

Removing the Existing NuGet Package

If you have already setup an existing NuGet Package for our Windows Phone controls, then you will see the following screen as shown in Figure 1.

1
Figure 1: Existing NuGet Package for RadControls for Windows Phone 8

In order to remove this package, you will need to go to the location of your local NuGet package repo and delete the .nupkg file that relates to Windows Phone. The name is different depending on what version you have installed. In my case, I had setup a local NuGet repo in the C:\PrivateNuGetPackage folder. Once removed, close and open the NuGet package manager again and it should say, “No Items Found”.

Installing the New NuGet Package

Login to your account and select your current Telerik subscription, scroll down to the bottom of the page and you will see “UI for Windows Phone 8” as shown in Figure 2.

Note: This applies for Windows Phone 7 as well.

2
Figure 2: Installation options for UI for Windows Phone 8

Select, “Browse all product files” and select “NuGet Installation” as shown in Figure 3.

3
Figure 3: NuGet Package for UI for Windows Phone 8

Extract the .zip file into the folder where your NuGet Packages are located and you should see the following dialog as shown in Figure 4 once you go back to the “Manage NuGet Packages” dialog.

image
Figure 4: Updated NuGet Package for UI for Windows Phone 8

From here you should see, “UI for WindowsPhone 8” instead of “RadControls for WindowsPhone 8”.

Click the “Install” button and the references will be automatically added to your project as shown in Figure 5.

5

Figure 5: References updated to include UI for Windows Phone 8

You are now ready to begin using our controls in your next Windows Phone app! That was easy.

Wrap-Up

As always, thanks for reading and if you have any questions then feel free to leave a comment below.

Michael Crump
@mbcrump


MichaelCrump
About the Author

Michael Crump

is a Microsoft MVP, Pluralsight and MSDN author as well as an international speaker. He works at Telerik with a focus on everything mobile.  You can follow him on Twitter at @mbcrump or keep up with his various blogs by visiting his Telerik Blog or his Personal Blog.

Comments

Comments are disabled in preview mode.