Mono.TextTemplating.Roslyn
3.0.0-preview-0052-g5d0f76c785
See the version list below for details.
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
<PackageReference Include="Mono.TextTemplating.Roslyn" Version="3.0.0-preview-0052-g5d0f76c785" />
paket add Mono.TextTemplating.Roslyn --version 3.0.0-preview-0052-g5d0f76c785
#r "nuget: Mono.TextTemplating.Roslyn, 3.0.0-preview-0052-g5d0f76c785"
// 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 | Versions 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. |
-
.NETFramework 4.7.2
- Microsoft.CodeAnalysis.CSharp (>= 4.7.0)
- Mono.TextTemplating (>= 3.0.0-preview-0052-g5d0f76c785)
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.7.0)
- Mono.TextTemplating (>= 3.0.0-preview-0052-g5d0f76c785)
-
net6.0
- Microsoft.CodeAnalysis.CSharp (>= 4.7.0)
- Mono.TextTemplating (>= 3.0.0-preview-0052-g5d0f76c785)
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 | 672 | 9/3/2024 |
3.0.0-preview-0052-g5d0f76c785 | 126 | 2/28/2024 |
3.0.0-preview-0049-g4f33c8d8b1 | 119 | 1/27/2024 |
3.0.0-preview-0045-g9b6fc72764 | 99 | 1/23/2024 |
3.0.0-preview-0027-g2711105671 | 172 | 10/3/2023 |
2.3.1 | 26,307 | 10/28/2022 |
2.3.0 | 457 | 10/5/2022 |
2.2.1 | 16,519 | 2/23/2021 |
2.2.0 | 1,174 | 12/5/2020 |