SWeko
SWeko

Reputation: 30902

Nuget 3.0 error on azure deployment

I have a VS2015 project that I have successfully deployed on Azure (via Github) as a web app. However, after some offline updates, when I deploy, i get the error

The 'System.Net.Http 4.0.0' package requires NuGet client version '3.0' or above, but the current NuGet version is '2.8.60717.93'."

Is nuget 3.0 installed on the web app servers? And how can I use it?

Upvotes: 4

Views: 224

Answers (2)

SWeko
SWeko

Reputation: 30902

I ended up reverting the System.Net.Http 4.0.0 package to an older version, that works with NuGet version 2.8.60717.93.

Upvotes: 1

viperguynaz
viperguynaz

Reputation: 12174

NuGet doesn't go on the the app server, it goes on the build server. Make sure your build server has the latest NuGet client. See this SO Answer.

Upvotes: 0

Related Questions