This project is read-only.

Using T4 Toolbox without installation

Nov 12, 2010 at 12:22 AM

Hi all,

We've got a team of 30 people and want to use T4 Toolbox in our code base. Is there anyway to include the T4 Toolbox in source control, so when everyone get the latest code it compiles without having to install the T4 Toolbox upfront?

Thanks,

Joe

Jan 12, 2011 at 6:43 PM

This feature would be great to have!

Jan 25, 2011 at 1:14 PM

Also need such possibility. Please share this information!

Jan 26, 2011 at 6:27 PM
Edited Jan 26, 2011 at 6:27 PM

I just started looking into this, and don't think it's possible right now.

The T4Toolbox.tt file uses custom Text Templating Directives.  The processors for custom directives must be registered with the machine somehow.  More information about custom directives is available at http://msdn.microsoft.com/en-us/library/cc138364.aspx.

If anyone knows a way to use the custom directives without registering information, then we may be on our way.

Aug 24, 2011 at 5:10 PM
Edited Aug 24, 2011 at 5:13 PM

I'm also interested. I just need VolitileAssembly but T4ScriptFileGenerator would be nice too.

http://stackoverflow.com/questions/7169589/use-volitileassembly-directive-without-installing-the-t4-toolbox

 

Aug 29, 2011 at 8:36 PM

VS2010 Service Park 1 no longer locks assemblies so VolitileAssembly is not needed.

http://stackoverflow.com/questions/7169589/use-volitileassembly-directive-without-installing-the-t4-toolbox/7200248#comment-8660147

http://stackoverflow.com/questions/4672064/t4-referenced-assembly-blocks-build