I’m trying to get Selenium 2 WebDriver up and running locally on Windows 7. For some reason I am unable to install my NuGet packages I downloaded from here:
http://www.nuget.org/packages/Selenium.WebDriver/2.17.0
Not sure what I’m doing wrong.
Visual Studio 2010 > Tools > Library Package Manager > Package Manager Console
PM> Get-Package -ListAvailable -Filter DotNetZip
Id Version Description/Release Notes
-- ------- -------------------------
DotNetZip 1.9.1.8 DotNetZip is an easy-to-use, FAST, FREE class library and toolset for manipulating zip files or folders.
DotNetZip.Reduced 1.9.1.8 DotNetZip is an easy-to-use, FAST, FREE class library and toolset for manipulating zip files or folders.
PM> Install-Package DotNetZip
Install-Package : The current environment doesn't have a solution open.
At line:1 char:16
+ Install-Package <<<< DotNetZip
+ CategoryInfo : InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackageCommand
Try having a solution open when running install as per the message.