Microsoft documentation for T4 in VS2012 speaks:
For example, if your Visual Studio project includes a template file named MyTemplate.tt which contains the following directive:
<#@output extension=".cs"#>then Visual Studio will generate a file named MyTemplate.cs
But in my project it changes AssemblyInfo.tt into AssemblyInfo1.cs.
Where is the problem?