Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 1.24 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.24 KB

T4.Helper

Deprecated

This project is deprecated. The new project for Visual Studio 2017+ is T4.FileManger.

You can use the T4.FileManager via nuget if you run the following command in the Package Manager Console in Visual Studio:

PM> Install-Package T4.FileManager.VisualStudio

T4.TemplateFileManager

Usually it is sufficient when transforming a T4 Template “example.tt” results in a single output file “example.cs”. But there are situation in which one would like to have multiple different output files like:

  • Putting each generated data class into a single code file
  • Creating a server and a client component based on a common model
  • Distribute generated code to multiple projects within a solution

You can use the T4.TemplateFileManager via nuget if you run the following command in the Package Manager Console in Visual Studio:

PM> Install-Package T4.TemplateFileManager

Limitations

  • Only one instance of the T4.TemplateFileManager can be used per Template
  • Projects and folders, where you place the output files, will not created automatically