I am triggering a T4 template from a batch file.
Batch file:
"%CommonProgramFiles%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -a !!envKey!PROD -out !file_name! %%d
where FileName is the t4 template name along with its path
In the T4 template I have
this.Host.ResolveParameterValue(null, null, "envKey");
It doesn't give me the parameter value and is empty. I am not able to figure out why?
Appreciate your help.