Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > T4 (*.tt) Turn off default autogen file
 

T4 (*.tt) Turn off default autogen file

Hi,

i wrote a tt-file that generates multiple cs files, that are added to my project. The name of the file is "Mappings.tt". The names of the generates files are user.cs, customer.cs and so on. But by default there is a Mappings.cs generated from the tt-file. This is the auto generated one. Is there a way to turn this autogenerated file off?

Nic
VB.NET & C#.NET
Nico F.  Wednesday, August 19, 2009 7:22 PM
Assuming you have .tt file in your project, there is no way to avoid creation of the default output file. It is actually produced by Visual Studio for the custom tool T4 provides.
Oleg
  • Proposed As Answer byJose Escrich Thursday, September 10, 2009 1:15 PM
  •  
Oleg V. Sych  Thursday, August 20, 2009 11:40 AM
Hi Nic,

You can remove the custom tool from the properties of your file. Of course that you will loose the automatically transformation.

hth
jose.

Jose Escrich - weblogs.asp.net/jescrich
  • Proposed As Answer byJose Escrich Thursday, September 10, 2009 1:15 PM
  •  
Jose Escrich  Thursday, September 10, 2009 1:15 PM

You can use google to search for other answers

Custom Search

More Threads

• Unbound reference to a filetype
• Access is Denied Error when installing Guidance Automation Packages / Guidance Automation Toolkit
• Autocomplit feature in Code Editor
• How to execute actions after solution template was unfolded
• GAX and templates in VS
• ValueProvider for the first selected Item in a project?
• The following arguments are required and don't have values
• Problem with Package Building (2 projects included as .vstemplate, but references not being resolved)
• Failed to create business module
• Custom Directory Structure through GAT