Skip to content

Instantly share code, notes, and snippets.

@leppie
Created February 26, 2015 11:07
Show Gist options
  • Save leppie/b7f9e9fabd67121ffea6 to your computer and use it in GitHub Desktop.
Save leppie/b7f9e9fabd67121ffea6 to your computer and use it in GitHub Desktop.
From UI
=======
Attempting to gather dependencies information for package 'System.Net.Http.2.0.20710' with respect to project targeting '.NETFramework, Version=v4.5'
Attempting to resolve dependencies for package 'System.Net.Http.2.0.20710' with DependencyBehavior 'Lowest'
Resolving actions to install package 'System.Net.Http.2.0.20710'
Resolved actions to install package 'System.Net.Http.2.0.20710'
For adding package 'Microsoft.Net.Http 2.0.20710' to project 'ConsoleApplication37' that targets 'net45'.
For adding package 'Microsoft.Net.Http 2.0.20710' to project 'ConsoleApplication37' that targets 'net45'.
Adding package 'Microsoft.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'Microsoft.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'Microsoft.Net.Http 2.0.20710' to 'packages.config'
Adding package 'System.Net.Http 2.0.20710', which only has dependencies, to project 'ConsoleApplication37'.
Adding package 'System.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'System.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'System.Net.Http 2.0.20710' to 'packages.config'
========== Finished ==========
From PM Console
===============
PM> Install-Package System.Net.Http
Attempting to gather dependencies information for package 'System.Net.Http.2.0.20710' with respect to project targeting '.NETFramework, Version=v4.5'
Attempting to resolve dependencies for package 'System.Net.Http.2.0.20710' with DependencyBehavior 'Lowest'
Resolving actions to install package 'System.Net.Http.2.0.20710'
Resolved actions to install package 'System.Net.Http.2.0.20710'
Adding package 'Microsoft.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'Microsoft.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'Microsoft.Net.Http 2.0.20710' to 'packages.config'
Adding package 'System.Net.Http 2.0.20710', which only has dependencies, to project 'ConsoleApplication37'.
Adding package 'System.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'System.Net.Http 2.0.20710' to folder 'C:\dev\ConsoleApplication37\packages'
Added package 'System.Net.Http 2.0.20710' to 'packages.config'
Install failed. Rolling back...
Removed package 'System.Net.Http 2.0.20710' from 'packages.config'
Removed package 'Microsoft.Net.Http 2.0.20710' from 'packages.config'
Removing package 'System.Net.Http 2.0.20710' from folder 'C:\dev\ConsoleApplication37\packages'
Removed package 'System.Net.Http 2.0.20710' from folder 'C:\dev\ConsoleApplication37\packages'
Removing package 'Microsoft.Net.Http 2.0.20710' from folder 'C:\dev\ConsoleApplication37\packages'
Removed package 'Microsoft.Net.Http 2.0.20710' from folder 'C:\dev\ConsoleApplication37\packages'
Install-Package : The service 'Microsoft.Internal.VisualStudio.Shell.Interop.SVsUIThreadInvokerPrivate' must be installed for this feature to work. Ensure that this service is available. HRESULT = 0x8000FFFF
At line:1 char:16
+ Install-Package <<<< System.Net.Http
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment