Jeff Sanders Technical Blog

I am a Microsoft employee that has worked on all aspects of the Web Stack for a long time. I hope these blogs are useful to you! Use this information at your own risk.


<< Go Back

Upgrading Or Adding References To Mobile Services When There Are Multiple Projects In The Solution

- 07 May 2013

When you have multiple projects in a solution (for example a Phone and Windows Store app) and you need to add a reference using nuget for each of them there are two methods you can choose from.  You can use the command line using the Package Manager Console or you can Use the Dialog.  Note: The latest version of Windows Azure Mobile Services is here: http://nuget.org/packages/WindowsAzure.MobileServices.

The important thing to remember is that you need to do this for each project in the solution.  In the Package Manager Console you need to select each project that needs to be updated and execute the command.  You do this by choosing each project from the ‘Default Project’ pull down shown below:

image

And executing the command: Install-Package WindowsAzure.MobileServices –Pre

For the dialog you right click on the ‘References’ node for each project (see Use the Dialog link in the opening paragraph) and use the dialog!

If this saved you some time let me know!

-Jeff

<< Go Back