Installing My Own POCO Template
-
Saturday, December 12, 2009 4:24 PMHow do I install my own POCO templates into Visual Studio 2010, so that they appear in the dialog when selecting "Add New Artifact Generation Item" from the model designer context menu? It's easy enough to just drop the .tt file into a project, but I would like to enumlate the same development experience as when using one of the "out-of-the-box" CTP templates. Thanks,
Tony
Answers
-
Saturday, December 12, 2009 5:46 PM
Check out this thread:
http://social.msdn.microsoft.com/Forums/en-US/adonetefx/thread/17e67c2e-8cfe-4566-b6f5-3f6b3ba3d9fb- Marked As Answer by Tony Sneed Sunday, December 13, 2009 1:05 PM
All Replies
-
Saturday, December 12, 2009 5:46 PM
Check out this thread:
http://social.msdn.microsoft.com/Forums/en-US/adonetefx/thread/17e67c2e-8cfe-4566-b6f5-3f6b3ba3d9fb- Marked As Answer by Tony Sneed Sunday, December 13, 2009 1:05 PM
-
Sunday, December 13, 2009 1:07 PM
Thanks for the info. I've put together a batch file that installs the a POCO T4 template into Visual Studio so that it shows up with selecting "Add Code Generation Artifact" from the context menu when right-clicking the design surface of an EDMX file: http://blog.tonysneed.com/2009/12/13/adding-your-own-t4-templates-for-ef4-to-visual-studio-2010/
Cheers,
Tony

