running t4 template from command line

Aug 26, 2009 at 3:49 AM

Hi ,

I have a Mainfile.tt which just prints hello world, it runs fine from visual studio but i am not able to run it through command prompt. I used below command from command prompt.

C:\Program Files\Common Files\Microsoft Shared\TextTemplating\1.0>TextTransform -I "D:\I-deal\TFS\code\IPAD_POC\Ipad_2008\IPAD\EntityGenerator\MainFile.tt" -out "d:\Sample.txt"

 

It neither gives any error nor any success..

Am i missing any thing. Please suggest. Do you have any links demonstrating the way to run the tt file from command prompt.