This project is read-only.

Samples Please?

Jul 25, 2009 at 10:32 PM
Edited Jul 25, 2009 at 10:32 PM

Can you please provide a simple simple sample solution that has your code working in it?  I get the following error when I right-click --> Add new item --> Generator:

Error 1 Compiling transformation: The type or namespace name 'Generator' could not be found (are you missing a using directive or an assembly reference?) c:\...\Generator1.tt 6 27 

I've added a reference to T4Toolbox.dll to no avail. :(

 I would also like to see the solution have kickass samples for newbies like me to study and get a really good/quick grasp of this framework.

Thank you :)

Michael

Jul 25, 2009 at 11:12 PM

OK I found the goodness:

http://www.olegsych.com/wp-content/uploads/2009/07/t4-tutorial-creating-complex-code-generators-cs.zip

I would highly suggest including all these nice samples in your .MSI and have them install to the Program Files directory for people like me who are impatient and don't like to scour sites. :D

Incredible work...  Thanks for providing this!

Jul 26, 2009 at 4:13 AM

Thanks, Michael. I know the templates and samples could be improved. Let me see what I can do.