Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transform T4 Templates

In Visual Studio, what does the menu command "Build" => "Transform All T4 Templates" do?

like image 534
Jamie Avatar asked Dec 06 '13 00:12

Jamie


1 Answers

http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx

t4 is basically a tool built into VS for doing text transformation, typically for doing code generation. Transform All T4 Templates searches your solution for *.tt files and executes them to create other text, again typically source code, files.

like image 132
neilh Avatar answered Nov 15 '22 21:11

neilh