Top "T4" questions

T4 stands for Text Template Transformation Toolkit and is Microsoft's template based text generation framework included with Visual Studio.

T4 alternative in .NET Core?

a T4 text template is a mixture of text blocks and control logic that can generate a text file. Can …

c# t4 .net-core
SubSonic 3.0.0.2 Structs.tt

The error I'm getting seems to be coming out of the Structs.tt file. I'm using the Northwind db and …

subsonic subsonic3 t4
T4 without Visual Studio?

I'm trying to wireup some code gen templates to my team's automated build process. Our SCM team doesn't want Visual …

.net t4
How to output namespace in T4 templates?

I have a T4 template for a class set up with TextTemplatingFileGenerator Custom Tool in Visual Studio: <#@ template language="…

c# visual-studio code-generation t4
Improve navigation property names when reverse engineering a database

I'm using Entity Framework 5 with Visual Studio with Entity Framework Power Tools Beta 2 to reverse engineer moderately sized databases (~100 tables). …

entity-framework ef-code-first t4 entity-framework-5 ef-power-tools
ASP.NET MVC 5 Custom Scaffolding Option [t4 templates]

Currently , I am developing a framework , I want to add custom scaffolding option in visual studio menu. By default "MVC5 …

asp.net-mvc asp.net-mvc-3 t4 asp.net-mvc-scaffolding t4scaffolding
Is there any way to have functions in basic T4 templates?

By basic T4 template, I mean not using T4 Toolkit or any of the add-ins. My T4 is getting a …

.net code-generation t4
T4MVC Error - T4 file is blocked or in a non trusted zone

I am running Visual Studio 2010 on a Windows 7 virtual machine inside of Parallels Desktop 8 on a Mac Book Pro. I'm …

.net asp.net-mvc visual-studio-2010 t4
EnvDTE not found in VS2012 works in VS2010

I'm using EnvDTE to do some code generation within my T4 Templates. I have the code working correctly in Visual …

t4 visual-studio-2012 envdte
Setting a breakpoint in a T4 template

I'm trying to debug the execution of a T4 template in Visual Studio 2008. All the information I'm finding on debugging …

debugging visual-studio-2008 t4 clarius-visual-t4