当我尝试添加包' Breeze.Server.WebApi2'通过我的package.json:
"dependencies": {
...
"System.Threading": "4.0.11-beta-23516",
"AutoMapper": "4.2.0",
"Breeze.Server.WebApi2": "1.5.4"
},
我收到错误:
Restoring packages for D:\VSProjects\(...)\project.json
Unable to locate Dependency WebActivator
Writing lock file D:\VSProjects\(...)\project.lock.json
Restore complete, 354ms elapsed
Restoring packages for D:\VSProjects\(...)\project.json
Unable to locate Dependency WebActivator
Writing lock file D:\VSProjects\(...)\project.lock.json
Restore complete, 562ms elapsed
' WebActivator'的nuget页面说它被弃用了...... 我已经尝试过安装套餐' WebActivatorEx'但那没有用。
如何安装软件包?还有其他版本吗?
答案 0 :(得分:1)
获取昨天刚刚发布的最新版本1.5.5。依赖关系更改为WebActivatorEx。