【发布时间】:2016-02-23 18:21:51
【问题描述】:
我在 Visual Studio Code (OS X) 中创建了 ASP .Net 控制台项目。
然后在project.json中添加依赖:
"dependencies": {
"selenium-webdriver": "2.52.0"
},
运行“dnu restore”并出现错误:
Microsoft .NET 开发实用程序 CoreClr-x64-1.0.0-rc1-16231
CACHE api.nuget.org/v3/index.json 恢复包 /Users/user/Code/ConsoleApplication/project.json
获取 api.nuget.org/v3-flatcontainer/selenium-webdriver/index.json
未找到 api.nuget.org/v3-flatcontainer/selenium-webdriver/index.json 2432毫秒
无法找到依赖 selenium-webdriver >= 2.52.0 写锁文件 /Users/user/Code/ConsoleApplication/project.lock.json 恢复 完成,经过 3027 毫秒
/Users/user/Code/ConsoleApplication/project.json 中的错误 无法找到依赖 selenium-webdriver >= 2.52.0
【问题讨论】:
标签: c# selenium nuget visual-studio-code dnu