Std.TextTemplating.SourceGenerator
1.0.6
There is a newer version of this package available.
See the version list below for details.
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" />
<PackageReference Include="Std.TextTemplating.SourceGenerator" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Std.TextTemplating.SourceGenerator&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
GitHub repositories
This package is not used by any popular GitHub repositories.