Changing output file name

To change the name or path of a generated file, open the template that generates the file and modify the RelativeFilePath property.

Example:

public override string RelativeFilePath
{
    get { return "MyFile.cs"; }
}