I got the infamous (but badly documented) “<dependency.dll> could not be resolved because it has an indirect dependency on the framework assembly “System.Net.Http, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” which could not be resolved in the currently targeted framework.” after adding a new component to our Jenkins build server. The linked article has some great info, but the *still* undocumented part is that you need to put a specific version of the library into “C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0”. HERE IS THE PACKAGE: http://www.nuget.org/packages/System.Net.Http
Argh! What a pain in the butt.