I have been using T4MVC] for many months in this project without issue. However today each time I change a controller method it is generating two T4MVC files:
instead of updating T4MVC.cs which ultimately means the project wont't compile and I have to delete T4MVC1.cs.
Has anyone seen this behaviour or has some ideas of a fix?

Here's the steps I do to fix it:
T4MVC1.csfile..csprojfile.Check the following tag:
<Compile Include="T4MVC.cs"> <AutoGen>True</AutoGen> <DesignTime>True</DesignTime> <DependentUpon>T4MVC.tt</DependentUpon> </Compile>Make sure there's only one of these and it's
T4MVC.cs. RemoveT4MVC1.csblock if you have it.Check the following tag:
<None Include="T4MVC.tt"> <Generator>TextTemplatingFileGenerator</Generator> <LastGenOutput>T4MVC.cs</LastGenOutput> </None>Make sure the
<LastGenOutput>isT4MVC.cs. If not, edit it to beT4MVC.cs.Save the
.csprojfile.