EFCodeFirst package 安装方法
2011-08-10 17:09
495 查看
I tried to install EntityFramework 4.1 on VS 2010 through NuGet. I searched and found the package through "Tools > Library Package Manager > Add
Library Package Reference" tool and I got this error: "This package (or one of its dependencies) contains powershell scripts and needs to be installed from the package manager console.". This is what I did to fix it:
Tools > Library Package Manager > Package Manager Console
PM > get-package -remote -filter entityframework
(got some results including EntityFramework 4.1.10311.0)
install-package -id EntityFramework
PM > install-package -id EntityFramework -Version 4.1.10331.0
Successfully added 'EntityFramework ...
Library Package Reference" tool and I got this error: "This package (or one of its dependencies) contains powershell scripts and needs to be installed from the package manager console.". This is what I did to fix it:
Tools > Library Package Manager > Package Manager Console
PM > get-package -remote -filter entityframework
(got some results including EntityFramework 4.1.10311.0)
install-package -id EntityFramework
PM > install-package -id EntityFramework -Version 4.1.10331.0
Successfully added 'EntityFramework ...
相关文章推荐
- 用VS2010自带的Library Package Manager安装EFCodeFirst出现“无法加载一个或多个请求的类型”错误的解决方法
- 用VS2010自带的Library Package Manager安装EFCodeFirst出现“无法加载一个或多个请求的类型”错误的解决方法
- EFCodeFirst package 安装方法
- 用VS2010自带的Library Package Manager安装EFCodeFirst出现“无法加载一个或多个请求的类型”错误的解决方法
- efcodefirst安装不了,This package (or one of its dependencies) contains PowerShell scripts and needs to
- 通过Package Manager Console 向VS2010安装 EFCodeFirst
- EFCodeFirst安装失败(包括EntityFrameWork安装),这样解决。。。
- EF4 Code First和EF6 Code First链接mysql的方法
- NuGet来安装EFCodeFirst 提示 PowerShell的错误。
- vs2010 利用NuGet来安装EFCodeFirst
- EFCodeFirst安装解决方案
- EFCodeFirst安装失败了可以这样解决
- EFCodeFirst安装失败(包含EntityFrameWork安装)解决规划
- MVC3的EFCodeFirst安装失败(包含EntityFrameWork安装)解决规划
- 安装EFCodeFirst失败。。。。
- EFCodeFirst安装失败(包括EntityFrameWork安装),这样解决
- 封装EF code first用存储过程的分页方法
- EF Code First 中使用Jarek Kowalski's Provider的方法1
- VS2010安装EFCodeFirst后无法显示ADO.NET DbContext Generator项目的解决方案
- EFCodeFirst安装失败(包括EntityFrameWork安装) 转载自 http://blog.csdn.net/yangzhencheng_001/article/details/6684