Useful links on T4

Here are a series of useful links for the T4 code generation tool.

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.texttemplating.texttransformation.texttransformation.aspx

http://www.olegsych.com/2008/02/t4-text-blocks/

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.texttemplating.texttransformation.write.aspx

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.texttemplating.texttransformation.writeline.aspx

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.texttemplating.texttransformation.generationenvironment.aspx

http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/

T4 is useful yet rather limited.  You can normally only generate one file per template.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s