I am trying to install 'WindowsAzure.Storage 8.0.1' in visual studio 2012, but getting the error
package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60318.667'.
on running command "Install-Package NuGet.Client"
Attempting to resolve dependency 'NuGet.Versioning (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.Packaging (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.Common (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.Packaging.Core (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.Packaging.Core.Types (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.Frameworks (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.Repositories (≥ 3.5.0)'. Attempting to resolve dependency 'NuGet.RuntimeModel (≥ 3.5.0)'. Attempting to resolve dependency 'Newtonsoft.Json (≥ 6.0.4)'. Attempting to resolve dependency 'NuGet.ContentModel (≥ 3.5.0)'. 'NuGet.Client 3.5.0' already installed.
But still I am getting the error.
The 'WindowsAzure.Storage 8.0.1' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60318.667'.
Switch to the Browse tab, search for the package name, select it, then select Install). For all packages, delete the package folder, then run nuget install . For a single package, delete the package folder and use nuget install <id> to reinstall the same one.
In Visual Studio, use the Help > About Microsoft Visual Studio command and look at the version displayed next to NuGet Package Manager. Alternatively, launch the Package Manager Console (Tools > NuGet Package Manager > Package Manager Console) and enter $host to see information about NuGet including the version.
NuGet is the package manager for . NET. It enables developers to create, share, and consume useful . NET libraries. NuGet client tools provide the ability to produce and consume these libraries as "packages".
Update your NuGet Package Manager extension. Go to Tools->Extensions and Updates
and select Updates->Visual Studio Gallery
. Update the NuGet Package Manager extension. Then try to install the package after Visual Studio gets restarted.
NuGet 2.12 only supports Visual Studio 2013 and later. If you're on Visual Studio 2012 you're out of luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With