.net backend project breaks

Category: azure mobile


dsoltesz on Mon, 25 Aug 2014 02:34:48

Create new .net backend service and run, everything works fine. Update all nuget packages, run, app no longer works.


SadiqhAhmed-MSFT on Mon, 25 Aug 2014 09:36:59


Thanks for posting here!

You can use nuget.exe to restore your packages or with NuGet 2.7, or above, installed you can simply compile your solution in Visual Studio, which will also restore the missing packages.

You may refer this link - http://stackoverflow.com/questions/6876732/how-do-i-get-nuget-to-install-update-all-the-packages-in-the-packages-config

Hope that helps!

If the issue persist, please respond with the details such as error message and so on.

Best Regards,

Sadiqh Ahmed

dsoltesz on Mon, 25 Aug 2014 11:48:37

I know how to use Nuget. That's not the question/problem.  By updating the azure mobile service .net backend project template to the latest packages, the project no longer runs, you get runtime errors.

1. In visual studio, create new project, select .net backend mobile service.

2. Build

3. Run. (works fine)

4. Stop

5. Right click solution, manage nuget packages, update all.

6. Build again

7. run (runtime errors)

SadiqhAhmed-MSFT on Mon, 25 Aug 2014 12:16:07

Thank you for your response.

Please follow this article and runtime debugging steps.

Best Regards,

Sadiqh Ahmed

dsoltesz on Mon, 25 Aug 2014 13:45:12

just perform the steps I mentioned...this is a brand new template/project. all I'm doing is updating the nuget packages to latest versions that are already defined in the project.