Xsl3.Build
1.3.1
dotnet add package Xsl3.Build --version 1.3.1
NuGet\Install-Package Xsl3.Build -Version 1.3.1
<PackageReference Include="Xsl3.Build" Version="1.3.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Xsl3.Build" Version="1.3.1" />
<PackageReference Include="Xsl3.Build"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Xsl3.Build --version 1.3.1
#r "nuget: Xsl3.Build, 1.3.1"
#:package Xsl3.Build@1.3.1
#addin nuget:?package=Xsl3.Build&version=1.3.1
#tool nuget:?package=Xsl3.Build&version=1.3.1
Xsl3.Build
Compiles XSLT stylesheets ahead of time for Xsl3, so that they load without
compiling (XslCompiledTransform.Load(Type)) and run under NativeAOT.
Version 1.3.1 strengthens P7 verification of forward execution, Debug compiler checks, retained
navigator memory, fork payloads and hidden grounding. Native initialization diagnostics now run in a
separate workflow; the scheduled memory and throughput acceptance gates remain unchanged.
Default execution stays tree-based; streaming remains experimental and unsupported.
Keep Xsl3, Xsl3.Build and Xsl3.Cli at the same version and regenerate saved stylesheets with matching packages.
See the 1.3.1 release notes.
<ItemGroup>
<PackageReference Include="Xsl3" Version="..." />
<PackageReference Include="Xsl3.Build" Version="..." PrivateAssets="all" />
<XsltStylesheet Include="Report.xsl" TypeName="Stylesheets.Report" />
</ItemGroup>
var transform = new XslCompiledTransform();
transform.Load(typeof(Stylesheets.Report), new XsltSettings());
transform.Transform(input, null, output);
Each stylesheet becomes an assembly holding one type, named by TypeName (the file name by default), which the
project references. DebugInformation="true" embeds a portable PDB, so a debugger steps through the stylesheet.
BackwardsCompatible="true" compiles a version="1.0" stylesheet for the XSLT 3.0 processor.
Compiling needs the .NET 10 SDK; the compiled stylesheets run on .NET 8 and later.
The assemblies are written under obj/<Configuration>/xsl3/ (Xsl3StylesheetOutputPath). A compiled stylesheet runs only
on the Xsl3 that compiled it: Load(Type) refuses one whose function library differs. Keep Xsl3 and Xsl3.Build at the
same version; a compiler built from source can be listed in Xsl3CompilerInputs so that a rebuild of it compiles the
stylesheets again.
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
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 |
|---|---|---|
| 1.3.1 | 50 | 11/6/2026 |
| 1.3.0 | 78 | 11/4/2026 |
| 1.2.0 | 95 | 11/2/2026 |
| 1.1.7 | 98 | 11/1/2026 |
| 1.1.6 | 101 | 10/29/2026 |
| 1.1.5 | 101 | 10/29/2026 |
| 1.1.4 | 105 | 10/29/2026 |
| 1.1.3 | 97 | 10/28/2026 |
| 1.1.2 | 92 | 10/27/2026 |
| 1.1.1 | 93 | 10/27/2026 |
| 1.1.0 | 92 | 10/26/2026 |
| 1.0.2 | 107 | 10/22/2026 |
| 1.0.1 | 92 | 10/22/2026 |
| 1.0.0 | 98 | 10/22/2026 |
| 1.0.0-rc.2 | 67 | 10/22/2026 |