XmlSchemaClassGenerator.SourceGenerator 1.0.13

dotnet add package XmlSchemaClassGenerator.SourceGenerator --version 1.0.13                
NuGet\Install-Package XmlSchemaClassGenerator.SourceGenerator -Version 1.0.13                
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="XmlSchemaClassGenerator.SourceGenerator" Version="1.0.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XmlSchemaClassGenerator.SourceGenerator --version 1.0.13                
#r "nuget: XmlSchemaClassGenerator.SourceGenerator, 1.0.13"                
#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.
// Install XmlSchemaClassGenerator.SourceGenerator as a Cake Addin
#addin nuget:?package=XmlSchemaClassGenerator.SourceGenerator&version=1.0.13

// Install XmlSchemaClassGenerator.SourceGenerator as a Cake Tool
#tool nuget:?package=XmlSchemaClassGenerator.SourceGenerator&version=1.0.13                

XmlSchemaClassGenerator.SourceGenerator

Source generator for XmlSchemaClassGenerator.

Example .csproj file modification

<Project Sdk="Microsoft.NET.Sdk">

	<PropertyGroup>
		<TargetFramework>net8.0</TargetFramework>
		<ImplicitUsings>enable</ImplicitUsings>
		<Nullable>enable</Nullable>
	</PropertyGroup>

+ 	<ItemGroup>
+		<PackageReference Include="XmlSchemaClassGenerator.SourceGenerator" Version="1.0.0" />
+	</ItemGroup>

+	<ItemGroup>
+		<AdditionalFiles Include="Schemas\**\*.xsd" XscGenSchema="true" />
+		<AdditionalFiles Include="Schemas\Config.json" XscGenConfig="true" />
+	</ItemGroup>

</Project>

Example Config.json

Note: Used only last config in project

{
  "sources": [
    {
      "path": null,
      "namespaces": {
        "urn://x-artefacts-smev-gov-ru/services/service-adapter/types": "Schemas.Adapter",
        "urn://x-artefacts-smev-gov-ru/services/service-adapter/types/faults": "Schemas.Adapter.Faults"
      }
    }
  ],
  "CollectionSettersMode": "PublicWithoutConstructorInitialization",
  "CompactTypeNames": true,
  "EnableNullableReferenceAttributes": true,
  "GenerateNullables": true,
  "NetCoreSpecificCode": true
}
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.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.0.13 214 8/9/2024
1.0.12 2,149 2/19/2024
1.0.11 165 2/19/2024
1.0.10 155 2/18/2024
1.0.9 148 2/18/2024
1.0.8 121 2/18/2024
1.0.1 125 2/18/2024
1.0.0 145 2/18/2024