SvSoft.XsdToSource 0.1.0-preview

This is a prerelease version of SvSoft.XsdToSource.
dotnet add package SvSoft.XsdToSource --version 0.1.0-preview
NuGet\Install-Package SvSoft.XsdToSource -Version 0.1.0-preview
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="SvSoft.XsdToSource" Version="0.1.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SvSoft.XsdToSource --version 0.1.0-preview
#r "nuget: SvSoft.XsdToSource, 0.1.0-preview"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SvSoft.XsdToSource as a Cake Addin
#addin nuget:?package=SvSoft.XsdToSource&version=0.1.0-preview&prerelease

// Install SvSoft.XsdToSource as a Cake Tool
#tool nuget:?package=SvSoft.XsdToSource&version=0.1.0-preview&prerelease

XsdToSource

Generates POCOS from XML schema files (XSD) at compile-time.

The real work was done by Michael Ganss at https://github.com/mganss/XmlSchemaClassGenerator. I just piggybacked the source generator.

This is a proof-of-concept. Features like including multiple dependent schema files are not tested or implemented.

How to use

Add nuget package (enable preview) SvSoft.XsdToSource to your project. Then configure xsd to use by the generator:

<PackageReference Include="SvSoft.XsdToSource" Version="0.1.0-preview" />
<AdditionalFiles Include="myschema.xsd" XsdToSource_RootNamespace="MyRootNamespace" />
There are no supported framework assets in this 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
0.1.0-preview 114 8/8/2021