is there a way to create an item template (t4) installer like the POCO generator?

Posted by bryanjonker on Stack Overflow See other posts from Stack Overflow or by bryanjonker
Published on 2010-04-19T18:18:38Z Indexed on 2010/04/19 18:23 UTC
Read the original article Hit count: 352

Subject says it all.

I want to modify the POCO generation adapter (http://code.msdn.microsoft.com/EFPocoAdapter) to generate my own code. I have the .tt adapters done, but I want to be able to distribute this to coworkers, so they right-click on the model, choose "Generate Code", and my t4 templates appear in the options along with the other choices.

Is there an easy way to do this? I found some articles at http://msdn.microsoft.com/en-us/library/tsyyf0yh(VS.80).aspx but it was focused on generic templates, and I'm looking for specifically model templates.

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about visual-studio