Nuget.exe fails with "Could not load file or assembly 'System.Net.Http...' -


i trying run "nuget restore" on server not have visual studio installation. nuget.exe fails immediately. else needs installed nuget run?

c:\users\kevin>nuget not load file or assembly 'system.net.http, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified. not load type 'system.runtime.compilerservices.iasyncstatemachine' assembly 'mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089'. not load file or assembly 'system.net.http.webrequest, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified.

had issue well. newer versions of nuget requires .net 4.5. installing .net 4.5.2 resolved issue me.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

javascript - Add multiple markers on map using json object -

java - Unable to load library 'xxx.dll': Native library (win32-x86/xxx.dll) not found in resource path (JNA + DLL + eclipse rcp) -