Std.TextTemplating.SourceGenerator 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Std.TextTemplating.SourceGenerator --version 1.0.6
                    
NuGet\Install-Package Std.TextTemplating.SourceGenerator -Version 1.0.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Std.TextTemplating.SourceGenerator" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Std.TextTemplating.SourceGenerator" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="Std.TextTemplating.SourceGenerator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Std.TextTemplating.SourceGenerator --version 1.0.6
                    
#r "nuget: Std.TextTemplating.SourceGenerator, 1.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Std.TextTemplating.SourceGenerator&version=1.0.6
                    
Install Std.TextTemplating.SourceGenerator as a Cake Addin
#tool nuget:?package=Std.TextTemplating.SourceGenerator&version=1.0.6
                    
Install Std.TextTemplating.SourceGenerator as a Cake Tool

This is a simple T4 text template preprocessor source generator. It is based on the T4 parsing code from Mono's T4 project.

You can find the source to the generator here: JakeSays/TextTemplating

Note that the generator currently only supports C#.

To use the generator first add the .nuget package to your C# project. Then add a T4 template source file, or use an existing one.

Change the build action of the template file to AdditionalFiles, no custom tool.

Now any time you make a change to the T4 file the generator will automatically generate a preprocessed class.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 2 4/7/2025
1.0.8 2 4/5/2025
1.0.7 2 4/5/2025
1.0.6 2 4/5/2025
1.0.5 2 4/5/2025