Mono.TextTemplating.Roslyn 2.2.1

In-process Roslyn compiler for the Mono.TextTemplating T4 templating engine

This is useful for processes that use a hosted instance of Mono.TextTemplating to compile multiple templates.
Only the first template will be affected by the startup overhead of the compiler, and compilation of subsequent
templates will be much faster.

This can also be used to guarantee a specific version of the C# compiler rather than relying on the system version.

To enable the in-process C# compiler, use the TemplatingEngine.UseInProcessCompiler() extension method.

Install-Package Mono.TextTemplating.Roslyn -Version 2.2.1
dotnet add package Mono.TextTemplating.Roslyn --version 2.2.1
<PackageReference Include="Mono.TextTemplating.Roslyn" Version="2.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mono.TextTemplating.Roslyn --version 2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mono.TextTemplating.Roslyn, 2.2.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mono.TextTemplating.Roslyn as a Cake Addin
#addin nuget:?package=Mono.TextTemplating.Roslyn&version=2.2.1

// Install Mono.TextTemplating.Roslyn as a Cake Tool
#tool nuget:?package=Mono.TextTemplating.Roslyn&version=2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.1 981 2/23/2021
2.2.0 602 12/5/2020