Entity Framework 5.0 EntityObject Generator not av

2019-04-01 16:58发布

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

2条回答
女痞
2楼-- · 2019-04-01 17:27

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

查看更多
仙女界的扛把子
3楼-- · 2019-04-01 17:44

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.

查看更多
登录 后发表回答