[MonoDevelop] T4 add-in

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Oct 13 01:11:11 EDT 2009


On Wed, Sep 30, 2009 at 2:09 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Wed, Sep 30, 2009 at 3:38 AM, Brett Michael <klunket at sent.com> wrote:
>> I'm interested to extend the current T4 functionality in MonoDevelop.
>> However, upon searching for examples of making add-ins, etc, I noticed
>> a couple of plugins where people had used less than optimal APIs, etc,
>> because they didn't know other ones existed.

Couple of follow-ups to this, for reference:

VS2010 supports generating partial classes from the T4 files that can
be compiled into your projects:
http://www.olegsych.com/2009/09/t4-preprocessed-text-templates/
This would *very* straightforward to implement in MD using our T4 engine.

Dan Ward has blogged a way to set up a custom tool in MD to invoke the
T4 generator:
http://dan.s.wards.ws/2009/10/how-to-execute-t4-text-templates-in-monodevelop/

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list