博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

找不到ADO.NET Entity Data Model对象

Posted on 2012-08-08 19:23  止水  阅读(989)  评论(0)    收藏  举报
Open the install media for VS2010 and browse to ":\WCU\EFTools". Her you will find two files:  

ADONETEntityFrameworkTools_enu.msi

ADONETEntityFrameworkTools_enu.cab

Copy those files to a folder on your PC.  
Create a log file in the folder - for instance with the name "Log.txt"  
Open a cmd prompt (possibly run the cmd prompt as administrator) and navigate to the folder with the msi and cap files.  
Run this command:  

ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1 /log "Log.txt"

It will take a while to install so be patient.

The installation should now be visible in "Control Panel -> Installed Programs" as "Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools".

The items template should be visible in Visual Studio when adding a new item to a project. (Add New Item->Data->ADO.NET Entity Data Model).

More info here: http://msdn.microsoft.com/en-us/library/ee225240.aspx