Asked by:
Error while using POCO template with EF 4.1

Question
-
installed: EF 4.1.If I right-click on an empty erea of the *.EDMX- canvas and select "add Code Generation Item.."I see the "Add New Item Dialog" to choose the Templates from.I choose the "ADO.NET POCO Entity Generator" template. then the Error is:"Error: this template attempted to load component assembly "Microcost.Data.Entity.Desing, Version= 10.0.0.0, Culture=neutral, PublicTokenKey=b03f5f7f11d50a3a .... "If I'm adding the refernece to System.Data.Entity.Design, I see only the Version 4.0.0.0in folder: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.Entity.Design.dllI'm using VS Ultimate, SP1Rel,any help is more then welcomeSunday, October 2, 2011 7:09 PM
All replies
-
Hello,
From your description, it looks that your issue may not be related to VS itself, but the POCO template. Check this blog for more detailed information. http://blogs.msdn.com/b/adonet/archive/2010/02/18/entity-framework-poco-template-updated-for-visual-studio-2010-release-candidate.aspx
HTH,
Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Edited by Larcolais Gong Wednesday, October 5, 2011 5:57 AM
Tuesday, October 4, 2011 5:03 AM -
Hello Larcolais,
Thank you for your reply. I have already read the blog and found it very inspiring.
But now I am desperately seeking a way to remove the template. Can you give me a hint?
Greetings,
O.F.Tuesday, October 4, 2011 6:03 AM -
Hello,
You can go to the extension manager to uninstall addin.
Thanks,
Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Wednesday, October 5, 2011 6:04 AM -
Thanks,
sometimes I cannot see the wood for the trees!
Thanks, Otto
O.F.Wednesday, October 5, 2011 7:13 AM -
Thanks,
sometimes I cannot see the wood for the trees!
Thanks, Otto
O.F.Hello, did you can uninstall it smoothly? did you capture some screenshots? Imet the same question.
Just a newbie for everything.Thursday, October 6, 2011 3:32 AM