Selenium 2 WebDriver的NuGet包不会安装在Visual Studio 2010中

Mac*_*ver 3 webdriver visual-studio-2010 nuget nuget-package selenium-webdriver

我正在尝试在Windows 7上启动本地运行Selenium 2 WebDriver.出于某种原因,我无法安装从此处下载的NuGet软件包:

http://www.nuget.org/packages/Selenium.WebDriver/2.17.0

不知道我做错了什么.

Visual Studio 2010>工具>库包管理器>包管理器控制台

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
Run Code Online (Sandbox Code Playgroud)

ben*_*c_b 5

根据消息运行安装时尝试打开解决方案.

Install-Package : The current environment doesn't have a solution open.
Run Code Online (Sandbox Code Playgroud)