Cant install via NuGet - Corrupt data

Topics: Developer Forum
Mar 2, 2015 at 9:50 AM
When I try to install via NuGet I get this error:
PM> Install-Package HtmlAgilityPack
Install-Package : File contains corrupted data.
At line:1 char:1
+ Install-Package HtmlAgilityPack
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], FileFormatException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I have a small amount of experience with NuGet packages so there may be something I am missing?
Mar 3, 2015 at 10:22 AM
Solved it with the help of kaufmed on Experts Exchange.

The issue was firstly Windows 8 and secondly that I had not updated the NuGet installation. Once I had done this it installed fine.
Marked as answer by fruitloopy on 3/3/2015 at 3:22 AM