您的位置:首页 > 其它

VS 没有 ADO.NET Entity Framework模板

2014-01-08 16:11 435 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: