Entity Framework 5.0 EntityObject Generator not available in Visual Studio 2012 RC?

可紊 提交于 2019-12-21 06:45:34

问题


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

http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/4993d0bf-94e8-4d14-aff1-3458b4ad467f?prof=required

Original Post

I try to migrate a project from 2010 EF 4.3.1 (modified EntityObject generator template) up to vs 2012 rc, ef 5.0 rc and .Net 45 rc. Painfully, my old T4 template doesnt work any longer. Where can I get the correct template to migrate it to EF 5.0 ? I can compile the old project, but after starting the app I receive an exception with "different scheme detected".

My contribution, still unresolved

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 Repair - did not fix the problem
  • VS 2010/2012 RC Uninstall/Reinstall - did not fix the problem
  • VS 2012 RC install on a clean machine - don't have time atm

Screenshots

What I'm expecting to see when adding a code generation template

What I see when adding a code generation template

Only DbContext in Extension Gallery


回答1:


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.




回答2:


Sorry for the long wait on these ones. The templates are now available on Visual Studio Gallery. See this page for details - http://msdn.microsoft.com/en-US/data/JJ613116#EntityObject

~Rowan



来源:https://stackoverflow.com/questions/10914894/entity-framework-5-0-entityobject-generator-not-available-in-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!