•        67

Use C# code as template to generate C# code Compiles to VSIX file for Visual Studio 2010 uses: BaseCustomToolGenerator to integrate into VS2010 AppDomain to run code in another domain without locking .dll file CSharpCodeProvider to compile C# code during custom tool execution



Related Projects

Transform Templates Tool

When you are working on more then one dsl's or T4 templates in a solution and you click Transform All Templates it transform all the templates. With the Transform Templates tool you have the possibility to select a project and transform only the templates in that project.

Kracken Generator and Architecture Tool for Visual Studio 2012

Welcome to Kracken a suite of tools for creating code from Architecture models. This program is the pet project of Tracy Rooks.

OMS.Ice - T4 Text Template Generator

OMS.Ice is an in-process T4 text template generator. It can be used to parse T4 text templates and to generate textual output at runtime. The OMS.Ice - T4 Text Template Generator has no dependencies to Visual Studio and can be deployed with our application.

CodePlanner - A code generator tool for Visual Studio based on T4 & Powershell.

A code generator tool for Visual Studio based on T4 & Powershell.

Solution template generator

Solution template generator, gets a .SLN file containing multiple projects and then converts it to a .VSIX file.

config_language - T4 (Text Template) based DSL language for .NET Configuration Sections

T4 (Text Template) based DSL language for .NET Configuration Sections

dotnet-apiport - This repo contains .NET Portability Analyzer (VSIX and Console) libraries and tools

This repository contains the source code for .NET Portability Analyzer tools and dependencies.The libraries are continuously published to dotnet-apiport MyGet gallery. The Visual Studio extension is published to Open VSIX Gallery. The latest version number of each library can be seen in that gallery.

CustomTemplating - Template Text Transformations with custom T4 host

CustomTemplating allows the usage of the Text Template Transformation Toolkit (T4) from custom applications, without VS IDE as Host. It simplifies the start of the text transformation process and allow to pass arguments from the application to the template transformation process.

resharper-vsix - VSIX and ReSharper integration

This repo contains two projects that enable better integration between Visual Studio's VSIX extensions and ReSharper.The first project, resharper-vsix is a ReSharper extension that will install any VSIX files bundled inside one of ReSharper 8's NuGet based extensions. This is intended to enable ReSharper extensions to also extend Visual Studio in ways that ReSharper doesn't currently support, perhaps by including project or item templates, or different editor extensions (highlights, adornments, folding, etc).

Smart Code Generator

Smart Code Generator is a code generate tool by T4 Templates. Development Environment Visual Studio 2010 .Net Framework 4.0 WPF C# Run Environment Windows .Net Framework 4.0


When you build your VSIX in Visual Studio (or the command line) when the .vsix file is produced it is not fully compressed. This project will enable VSIX developers to create fully compressed .vsix files with a NuGet package.

grammar-generator - Command line tool for generating filtering DSL to SQL translator.

Command line tool for generating filtering DSL to SQL translator.

SharePoint Services Site Top Navigation DSL

This project is to develop a DSL tool that models top navigation of SharePoint Services sites and a code generator that generates PowerShell scripts. The scripts can be used to create the top navigation on SharePoint Services sites.

Scheme in One Day (SIOD)

Scheme in One Day (SIOD) the small scheme interpreter with the conservative garbage collector. Even though this is an interpreter it comes with a compiler that will convert Scheme language source files into windows EXE files using a classic bootstrap trampoline technique. Thi...

Boilerplate Generator

The Boilerplate Generator, or "boilen", is a simple T4 Template file for generating boilerplate property, interface, and constructor code. Supports WPF/Silverlight dependency properties, as well as mutable/immutable/constant .NET properties, INotifyPropertyChanged, etc.


T4 object-to-object mapper generator for C#.


Added support for new functionalities (e.g. support for empty list / null list, references to list types and so on) and T4 TypeModel Generator


t4talk is the source repository for all samples of the T4 team blog. T4 is a flexible code generation tool that can reduce development time and maintenance cost. T4 is easy to adopt in any project and in any stage of product development.