Code Generation not working

18 views
Skip to first unread message

j...@panthacorp.com

unread,
Aug 3, 2014, 2:47:42 AM8/3/14
to glass...@googlegroups.com
Hi

I can't get the code generates templates working at all. It seems all of the functions in Helpers.tt are unavailable. If I remove the reference to Helpers.tt in the GlassV3Header.tt and change the line that uses the JoinNamespaces function to just use a regular string the header generates fine.

Anyone know why this might be happening. I've spent hours looking into it and it's driving me crazy.

Cheers
Joe

Joe Stevens

unread,
Aug 3, 2014, 6:25:10 AM8/3/14
to glass...@googlegroups.com
Weirdly I came back to this a few hours later, re-added all the T4's and it just worked. No idea what I had an issue earlier.

Sean Holmesby

unread,
Aug 4, 2014, 3:43:55 AM8/4/14
to glass...@googlegroups.com
You possibly built the Extensions project for the first time. This copies it's DLL to a Public Assemblies directory for Visual Studio.

However for it to take effect, I believe you need to close and te-open Visual Studio... This why it's now working.

That's my theory anyway.

- Sean

Reply all
Reply to author
Forward
0 new messages