This project is read-only.

T4 Toolbox for Visual Studio 2012 is now available

Dec 29, 2012 at 6:16 AM

Sorry about the wait... More here:

Jan 3, 2013 at 11:06 PM
Edited Jan 3, 2013 at 11:07 PM

Hi Oleg -

Will you be updating the source? I've found an issue when updating - T4 Toolbox transformation context was not properly initialized. Add <#@ include="" #> directive to your text template. - and wanted to patch the incorrect error message.

Jan 4, 2013 at 2:21 AM

At this point, I don't plan to release the source code. Thanks for reporting the problem; I'll fix it in the upcoming update on Visual Studio Gallery.

Jan 4, 2013 at 8:19 AM

While I can understand the reasoning, it's a bit of a shame, since having the source really helps out when there are issues like I'm experiencing and don't really have any guaranteed support.

It appears as if having the "hostspecific" attribute set to "True" in the template directive causes T4 Toolbox to fail since the transformation context isn't setup when it is present, resulting in the above error.

Jan 4, 2013 at 4:24 PM

Can you post a small repro? Setting hostspecific attribute to true should be no longer necessary. When the is included, the template is automatically treated as host-specific, overriding any value you may have specified in the template directive.

Jan 7, 2013 at 6:57 PM

I posted more detail at a new discussion:

Jan 29, 2013 at 9:31 PM

Dear Oleg --

I am grateful for you help.

We converted to the new version on 2 medium sized projects, one L2s and one L2e.

The new version of T4 ToolBox worked perfectly.


-- Mark Kamoski