I try to pass a parameter(foo) to an existing template(MyTemplate.tt) with this command:
TextTransform.exe -a=foo!bar -o Output.txt MyTemplate.tt
MyTemplate.tt:
<#@ template language="C#" #>
<#@ import namespace="System.IO" #>
<#
this.Write(foo);
#>
This command fails due to the parameter "foo" is not existing. How can I pass this parameter correctly?