Mono.TextTemplating.Roslyn 3.0.0-preview-0052-g5d0f76c785

This is a prerelease version of Mono.TextTemplating.Roslyn.
dotnet add package Mono.TextTemplating.Roslyn --version 3.0.0-preview-0052-g5d0f76c785
NuGet\Install-Package Mono.TextTemplating.Roslyn -Version 3.0.0-preview-0052-g5d0f76c785
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="3.0.0-preview-0052-g5d0f76c785" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mono.TextTemplating.Roslyn --version 3.0.0-preview-0052-g5d0f76c785
#r "nuget: Mono.TextTemplating.Roslyn, 3.0.0-preview-0052-g5d0f76c785"
#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=3.0.0-preview-0052-g5d0f76c785&prerelease

// Install Mono.TextTemplating.Roslyn as a Cake Tool
#tool nuget:?package=Mono.TextTemplating.Roslyn&version=3.0.0-preview-0052-g5d0f76c785&prerelease

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 is compatible.  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.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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-preview-0052-g5d0f76c785 58 2/28/2024
3.0.0-preview-0049-g4f33c8d8b1 75 1/27/2024
3.0.0-preview-0045-g9b6fc72764 56 1/23/2024
3.0.0-preview-0027-g2711105671 117 10/3/2023
2.3.1 11,888 10/28/2022
2.3.0 420 10/5/2022
2.2.1 14,368 2/23/2021
2.2.0 1,132 12/5/2020