gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 11:03:06 25 4
gpt4 key购买 nike

我正在尝试在 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

最佳答案

按照消息运行安装时尝试打开解决方案。

Install-Package : The current environment doesn't have a solution open.

关于visual-studio-2010 - Selenium 2 WebDriver 的 NuGet 包不会安装在 Visual Studio 2010 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8886395/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com