Std.TextTemplating.SourceGenerator
1.0.9
dotnet add package Std.TextTemplating.SourceGenerator --version 1.0.9
NuGet\Install-Package Std.TextTemplating.SourceGenerator -Version 1.0.9
<PackageReference Include="Std.TextTemplating.SourceGenerator" Version="1.0.9" />
<PackageVersion Include="Std.TextTemplating.SourceGenerator" Version="1.0.9" />
<PackageReference Include="Std.TextTemplating.SourceGenerator" />
paket add Std.TextTemplating.SourceGenerator --version 1.0.9
#r "nuget: Std.TextTemplating.SourceGenerator, 1.0.9"
#:package Std.TextTemplating.SourceGenerator@1.0.9
#addin nuget:?package=Std.TextTemplating.SourceGenerator&version=1.0.9
#tool nuget:?package=Std.TextTemplating.SourceGenerator&version=1.0.9
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.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.9 | 149 | 4/18/2025 |