实体框架5.0 EntityObject Generator在Visual Studio 2012 RC中不可用? [英] Entity Framework 5.0 EntityObject Generator not available in Visual Studio 2012 RC?
问题描述
从social.msdn.microsoft.com获取...
Carry over from social.msdn.microsoft.com...
原始帖子
我尝试将项目从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
屏幕截图
推荐答案
我们正在完成对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屋!