Change T4 file extension from .g.cs to .Generated.cs in order to integrate out-of-the-box with ReSharper.