日期:2014-05-20  浏览次数:20770 次

利用 NuGet来安装EFCodeFirst 神马情况
在 Visual Studio 里面 遇到的一个问题 


当我点击了 安装按钮的时候跳出一个对话框

This package(or one of its dependencies ) contains PowerShell scripts and needs to be installed from the Package Manager console.

试过这个方法以后 我又在网上找了 一下 

就是在控制台 
PM> get-package -remote -filter entityframework

Id Version Description  
-- ------- -----------  
BinbinMemberShipEntityFrameworkCodeFirst 1.0.0.0 membership entityframework codefirst  
BinbinMemberShipEntityFrameworkCodeFirst 1.0.0.1 2011-08-15:添加类...  
Check_My_Box_Packages 1.1.0.2 This Package uses MvcScaffolding, EntityFr...
Check_My_Box_Packages 1.1.0.3 This Package uses MvcScaffolding, EntityFr...
EFCodeFirst 1.0 Legacy package, Code First is now included...
EFCodeFirst 1.1 Legacy package, Code First is now included...
EntityFramework 4.1.10311.0 DbContext API and Code First workflow for ...
EntityFramework 4.1.10331.0 DbContext API and Code First workflow for ...
EntityFramework 4.1.10715.0 DbContext API and Code First workflow for ...
EntityFramework.CodeFirst.TestHelpers 0.1 This package aims to make testing Entity F...
EntityFramework.Extensions 0.0.1 A couple useful extensions for creating DB...
EntityFramework.Extensions 0.0.2 A couple useful extensions for creating DB...
EntityFramework.Migrations 0.6.0.0 Code First Migrations Alpha 2  
EntityFramework.Migrations 0.6.1.0 Code First Migrations Alpha 2  
EntityFramework.Migrations 0.6.2.0 Code First Migrations Alpha 2  
EntityFramework.Migrations 0.7.0.0 Code First Migrations Alpha 3  
EntityFramework.Patterns 0.2 Provides different patterns to be used wit...
EntityFramework.Patterns 0.5 EntityFramework.Patterns provides differen...
EntityFramework.Preview 4.2.0.0 Entity Framework 4.2 Beta 1. DbContext API...
EntityFramework.Preview 4.2.0.1 Entity Framework 4.2 Release Candidate. Db...
EntityFramework.Sample 4.1 This sample blog model demonstrates the us...
EntityFramework.SqlMigrations 0.5.10727.0 Preview of Code First Migrations for SQL S...
EntityFramework.SqlMigrations 0.6.0.0 Legacy package, use EntityFramework.Migrat...
EntityFramework.SqlServerCompact 4.1.8482.1 Allows SQL Server Compact 4.0 to be used w...