实体框架5.0 EntityObject Generator在Visual Studio 2012 RC中不可用? [英] Entity Framework 5.0 EntityObject Generator not available in Visual Studio 2012 RC?

查看:87
本文介绍了实体框架5.0 EntityObject Generator在Visual Studio 2012 RC中不可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从social.msdn.microsoft.com获取...

Carry over from social.msdn.microsoft.com...

http://social.msdn.microsoft.com/Forums/zh-CN/adodotnetentityframework/thread/ 4993d0bf-94e8-4d14-aff1-3458b4ad467f?prof =必需

原始帖子

我尝试将项目从2010 EF 4.3.1(修改的EntityObject生成器模板)迁移到vs 2012 rc,ef 5.0 rc和.Net 45 rc。
很痛苦,我的旧T4模板不再起作用。在哪里可以获得正确的模板以将其迁移到EF 5.0?
我可以编译旧项目,但是启动应用程序后,我收到一个检测到不同方案的异常。

我的贡献,但仍未解决

EntityObject代码生成模板在干净的计算机上的VS 11 Beta中可用,因此我想这是一个升级问题/冲突,可能与之前安装EF 4.2(2011年6月)CTP有关(尽管需要卸载)。

The EntityObject code generation template was available in VS 11 Beta on a "clean" machine, so I would imagine it's an upgrade issue/conflict, possibly related to having EF 4.2 June 2011 CTP installed prior (despite uninstalling).


  • VS 2012修复-无法解决问题

  • VS 2010/2012 RC卸载/重新安装-未解决问题

  • VS 2012 RC安装在干净的计算机上-没有时间atm

屏幕截图

添加代码生成模板时期望看到的内容

添加代码生成模板时看到的内容

仅扩展库中的DbContext

推荐答案

我们正在完成对EntityObject和自跟踪实体代码生成模板的VSIX版本的验证。如果验证顺利,它们很快就会在Visual Studio画廊(或添加代码生成项目菜单的在线选项卡)中可用。上传后,我会在这里回复。

We are finishing verifying VSIX versions of the EntityObject and Self-Tracking Entities code-gen templates. These should be available in the Visual Studio Gallery (or the online tab of the "Add code generation item" menu) shortly if verification goes well. I will reply here as soon as they are uploaded.

这篇关于实体框架5.0 EntityObject Generator在Visual Studio 2012 RC中不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆