T4 Toolbox for Visual Studio 2012 is now available

Coordinator
Dec 29, 2012 at 5:16 AM

Sorry about the wait... More here: http://www.olegsych.com/2012/12/t4-toolbox-for-visual-studio-2012/

Jan 3, 2013 at 10:06 PM
Edited Jan 3, 2013 at 10: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="T4Toolbox.tt" #> directive to your text template. - and wanted to patch the incorrect error message.

Coordinator
Jan 4, 2013 at 1: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 7: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.


Coordinator
Jan 4, 2013 at 3:24 PM

Can you post a small repro? Setting hostspecific attribute to true should be no longer necessary. When the T4Toolbox.tt 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 5:57 PM

I posted more detail at a new discussion: http://t4toolbox.codeplex.com/discussions/428804

Jan 29, 2013 at 8: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.

Thanks.

-- Mark Kamoski