Novolis.CodeGen.Xsd
2026.1.2.50
See the version list below for details.
dotnet add package Novolis.CodeGen.Xsd --version 2026.1.2.50
NuGet\Install-Package Novolis.CodeGen.Xsd -Version 2026.1.2.50
<PackageReference Include="Novolis.CodeGen.Xsd" Version="2026.1.2.50" />
<PackageVersion Include="Novolis.CodeGen.Xsd" Version="2026.1.2.50" />
<PackageReference Include="Novolis.CodeGen.Xsd" />
paket add Novolis.CodeGen.Xsd --version 2026.1.2.50
#r "nuget: Novolis.CodeGen.Xsd, 2026.1.2.50"
#:package Novolis.CodeGen.Xsd@2026.1.2.50
#addin nuget:?package=Novolis.CodeGen.Xsd&version=2026.1.2.50
#tool nuget:?package=Novolis.CodeGen.Xsd&version=2026.1.2.50
Novolis.CodeGen.Xsd
Public face for SchemaGraph → C#: choose a profile, mold via EmitOptions / hooks, write sources.
Orchestration across many regen steps (fingerprint skip, result.json) stays in Novolis.CodeGen.Pipeline — implement IPipelineStep that calls XsdCodegen.Emit.
Install
dotnet add package Novolis.CodeGen.Xsd
Quick start
using Novolis.CodeGen.Xml;
using Novolis.CodeGen.Xsd;
var result = XsdCodegen.EmitFromDirectory(
schemaRoot,
new WireXmlSerializerProfile(),
new EmitOptions
{
RootNamespace = "Acme.Schemas",
NamespaceMapper = new DefaultNamespaceMapper(),
DocumentRootInterfaceName = "IDocument",
EnableNullable = true, // default: #nullable enable + ? on optional / choice particles
});
Mold points (EmitOptions)
| Option | Role |
|---|---|
EnableNullable |
#nullable enable + ? on optional attributes/elements (default true) |
NamespaceMapper |
XML URI → C# namespace (default: last URI segment) |
DocumentRootInterfaceName |
Shared interface on Wire document roots |
SpineInterfaceName + SpineDocumentRootNames |
Shared Base spine over named document roots |
StripEmbeddedPolicy |
BinaryFacet → metadata-only vs omit |
Hooks |
Ordered IXsdEmitHook transforms after the profile emits |
Product conventions (UBL CBC suffixes, SBDH at package root, Invoice/CreditNote/Reminder spine) live in consumers (e.g. Novolis.Xsd.Generator), not in this package.
Profiles
- WireXmlSerializerProfile —
partial class+ XmlSerializer attributes + interfaces - LeanRecordsProfile — records without embedded
byte[] - StripEmbeddedBaseProfile —
*Baserecords +I*Base; optional shared spine when roots are listed
| Product | Versions 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. |
-
net10.0
- Microsoft.CodeAnalysis.CSharp (>= 5.9.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.9.0)
- Novolis.CodeGen.Xml (>= 2026.1.2.50)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Novolis.CodeGen.Xsd:
| Package | Downloads |
|---|---|
|
Novolis.Xsd.Generator
XSD to C# generation host using Novolis.CodeGen.Xml SchemaGraph and Novolis.CodeGen.Xsd Roslyn Wire emit. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.2.53 | 103 | 10/18/2026 |
| 2026.1.2.51 | 107 | 10/18/2026 |
| 2026.1.2.50 | 109 | 10/4/2026 |
| 2026.1.2.49 | 109 | 10/4/2026 |
| 2026.1.2.48 | 122 | 10/1/2026 |
| 2026.1.2.47 | 111 | 9/30/2026 |