Mono.TextTemplating.Roslyn 2.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mono.TextTemplating.Roslyn --version 2.3.1                
NuGet\Install-Package Mono.TextTemplating.Roslyn -Version 2.3.1                
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="Mono.TextTemplating.Roslyn" Version="2.3.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.3.1                
#r "nuget: Mono.TextTemplating.Roslyn, 2.3.1"                
#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.
// Install Mono.TextTemplating.Roslyn as a Cake Addin
#addin nuget:?package=Mono.TextTemplating.Roslyn&version=2.3.1

// Install Mono.TextTemplating.Roslyn as a Cake Tool
#tool nuget:?package=Mono.TextTemplating.Roslyn&version=2.3.1                

Mono.TextTemplating.Roslyn

NOTE: To use a template at runtime in your app, you do not need to host the engine. It is generally preferable to use dotnet-t4 to generate a runtime template class and compile that into your app, as this has substantially less overhead than hosting the engine.

The package allows apps that host the Mono.TextTemplating T4 engine to bundle a copy of the Roslyn C# compiler and use it in-process. This may improve template compilation performance when compiling multiple templates, and guarantees a specific version of the compiler.

In addition to installing the package, you must call the UseInProcessCompiler() extension method on your TemplateEngine instance:

var engine = new TemplatingEngine();
engine.UseInProcessCompiler();

When using the in-process compiler, the T4 engine will not write any intermediate files to disk. Generated C# files and compiled assemblies will be kept in memory.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.0.0 704 9/3/2024
3.0.0-preview-0052-g5d0f76c785 127 2/28/2024
3.0.0-preview-0049-g4f33c8d8b1 120 1/27/2024
3.0.0-preview-0045-g9b6fc72764 100 1/23/2024
3.0.0-preview-0027-g2711105671 173 10/3/2023
2.3.1 26,702 10/28/2022
2.3.0 458 10/5/2022
2.2.1 16,579 2/23/2021
2.2.0 1,175 12/5/2020