Why do my T4 templates sometimes add a number to the output file, and sometimes not? For example, in one case, I might have a template file called Foo.tt , and I get the output file Foo.cs In other cases, I will get the output file Foo1.cs In each case, there is another Foo.cs file, which can lead to the addition of a number. In other words, this is definitely not the result of any obvious file name conflict.
I am a deeply anal retentive developer, so I would really like to know how to get rid of this useless numerical suffix.
visual-studio t4
Gregory Higley Dec 21 '09 at 21:50 2009-12-21 21:50
source share