2

当我使用ADO.NET的DbContext发电机与实体框架4.1安装在EDMX我得到了以下错误:错误而使用的DbContext发生器,实体框架4.1

Error: this template attempted to load component assembly 'Microsoft.Data.Entity.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

我使用VS2010 SP1的,实体从NuGet,NET 4类库的框架4.1

我错过了什么吗?

我安装了“Microsoft Entity Framework June 2011 CTP”,当我从项目目标框架中选择它,然后模板“DBContext Generator”工作。这意味着我必须卸载CTP才能使用正常的.net framework 4.0?

回答

0

感谢张贴这和信息。对于那些安装EF 4.2六月CTP后,碰上这样的:

  1. 卸载SQL Server数据工具六月CTP包
  2. 然后按照AMgdy的意见,上述

ADONETEntityFrameworkTools_enu.msi USING_EXUIH = 1 /日志“dd_ADONETEntityFrameworkTools_enu_MSI.txt”

相关问题