Hi,
I'm trying to create a T4 template to generate a class for a specific task I need. However, something is broken with its output.
The output file contains random garbage characters even when the .tt file is blank. I'm thinking it's something to do with the character encoding on the .tt file, maybe.
I can successfully add a code generation item to an edmx file and it will generate fine unless I make a change to the tt file, save, revert the change, resave. The output becomes garbage again.
Haven't been able to find anyone else experiencing this issue.
Example: TextTemplate.tt
<#@ template debug="false" hostspecific="false" language="C#" #>
Output file: TextTemplate.cs
믯㲿䀣琠浥汰瑡敤畢㵧昢污敳•潨瑳灳捥晩捩∽慦獬≥氠湡畧条㵥䌢∣⌠ാ
Ideas, anyone?
Thanks,
Carl