Well, it appears I'm not the only one, and as a result I've given up on it for the time being.
Instead I've gotten back into CodeSmith. I used version 2.6 a few years back for a code generator for the AtomsFramework and it worked really well, but I put it on the shelf when I ran out of personal time for open source work.

I asked my team to created some code gen templates and snippets this week and they had great results in about 3 days. If I'd have tried to get them to do it using the GAT they'd still be at it, and probably banging their heads into their desks at this point trying to figure out the mysteries and inner workings of GAT/GAX and the EnvDTE namespaces. It really shouldn't be that hard to do code gen. I like where Microsoft are heading with it, but the learning curve is just too steep for the limited use I'll have for it.
I'll give the GAT stuff another 6 moths to mature a bit more and see where it heads from there. In the meantime CodeSmith gets the nod.
I completely agree, you hit the nail on the head. The GAT is one of those things that were over-architected, believing that a developer really has time to devote 6-12 months to deliver a solution, to be able to write one guided solution.
ReplyDelete