LicenseServer.Templates.Core 1.1.12

dotnet add package LicenseServer.Templates.Core --version 1.1.12
                    
NuGet\Install-Package LicenseServer.Templates.Core -Version 1.1.12
                    
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="LicenseServer.Templates.Core" Version="1.1.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LicenseServer.Templates.Core" Version="1.1.12" />
                    
Directory.Packages.props
<PackageReference Include="LicenseServer.Templates.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LicenseServer.Templates.Core --version 1.1.12
                    
#r "nuget: LicenseServer.Templates.Core, 1.1.12"
                    
#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.
#:package LicenseServer.Templates.Core@1.1.12
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LicenseServer.Templates.Core&version=1.1.12
                    
Install as a Cake Addin
#tool nuget:?package=LicenseServer.Templates.Core&version=1.1.12
                    
Install as a Cake Tool

LicenseServer.Templates.Core

The shared, versioned templating engine for the LicenseServer ecosystem. One engine, consumed by the license server, the LicensePanel, and the authoring tooling — so template behavior never drifts between them.

This package is Tomlyn-only and Native-AOT-clean (IsAotCompatible + IsTrimmable, reflection-free), so it can be embedded in an AOT-published host.

What's Included

  • Canonical model: ParsedTemplate and its family (ParsedService, ParsedVariable, ParsedDomain, ParsedMount) — immutable, serializer-attribute-free POCOs.
  • Parser: a permissive TOML parser (unknown keys ignored; source bytes never re-emitted, so signing stays byte-faithful).
  • Resolution: variable resolver + helper expressions + context tokens + per-service environment resolution (layered override → template-service → shared → default).
  • Discipline: the full discipline rule set + validator + manifest emitter, surfacing Error/Warn/Info findings with source locations.

When to Use This Package

Reference this package when you need to parse, resolve, or validate a LicenseServer template TOML — for example, to render a project wizard, to resolve a service's effective environment, or to refuse signing a template that violates a discipline rule.

using LicenseServer.Templates.Core.Parsing;
using LicenseServer.Templates.Core.Rules;

var parsed = new TomlParser().Parse(rawToml);
var result = new DisciplineValidator().Validate(parsed.Template);
if (result.Violations.Any(v => v.Severity == Severity.Error))
{
    // refuse: surface the rule ids
}

Dependencies

No YamlDotNet, no reflection-heavy dependencies — keeps the AOT/trim closure clean.

Package Description
LicenseServer.Templates.Authoring Compose/env-file parsing (YamlDotNet) + analyzer + fix proposers, built on Core
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LicenseServer.Templates.Core:

Package Downloads
LicenseServer.Templates.Authoring

Authoring-side helpers (compose/env parsing, analyzer, fix proposers) for LicenseServer templates, built on LicenseServer.Templates.Core.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.12 163 6/27/2026
1.1.11 163 6/26/2026
1.1.10 159 6/26/2026