Upgrading or Adding References to Mobile Services when there are Multiple projects in the Solution

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: https://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