![]() |
VOOZH | about |
dotnet tool install --global LinqToXsdCore --version 3.4.16
dotnet new tool-manifestif you are setting up this repo
dotnet tool install --local LinqToXsdCore --version 3.4.16
#tool dotnet:?package=LinqToXsdCore&version=3.4.16
nuke :add-package LinqToXsdCore --version 3.4.16
Nuget packages:
using directives in the generated code will now start with `global::`` to prevent namespace resolution errors and uncompilable code.XName fields that are usually generated for properties that are part of the element's content model, do not get generated at all. These are part of the element dictionary (BuildElementDictionary()) which is called in the static constructor for the that element class. This bug affects XObjectsCodeGen. Affected code generation for paraparse.xsd.Nuget packages:
Nuget packages:
Nuget packages:
XSimpleList<T>) did not include the requisite overload for allowing default values for elements of simple types.Nuget packages:
gen -a path\ command.Nuget packages:
Nuget packages:
Nuget packages:
Nuget packages:
Nuget packages:
Nuget packages:
XName fields for inherited properties. See GitHUb PR65.Nuget packages:
xs:date or xs:time would not work with UseDateOnly or UseTimeOnly. See GitHub PR61.xs:date or xs:time into a good old DateTime.List<string> instead of List<TEnum>.Nuget packages:
xsd:nil="true" to indicate they are of nil value; which is an alternate way of modelling optional elements, rather than just omit the element entirely). See GitHub PR60.Nuget packages:
DateOnly and TimeOnly type serialisation for xs:date and xs:time types to .NET Standard 2.0 using Portable.System.DateTimeOnly; there remains a .NET 6 version and a .NET Standard 2.0 version of the XObjectsCore and LinqToXsd nuget packages, but are now functionally the same.Nuget packages:
XTypedElement list.xs:NCName type is used in a schema.value?.ToString() expression on a property value setter when the property type is nullable.Nuget packages:
<SplitCodeFiles By="Namespace" /> now works, but it requires a new File filename attribute on every <Namespace />. If you had set this unimplemented option in your config before upgrading, you will get an error and need to modify your config!<NullableReferences> option should now be set inside <CodeGeneration>. It still works in <Configuration> for backward compatibility.<UseDateOnly> and <UseTimeOnly> inside <CodeGeneration>. When true, .net 6 DateOnly and TimeOnly types will be generated for xs:date and xs:time properties.XObjectsCodeGen directly (as a library), a few public APIs have changed to support splitting files by namespace. There is no breaking change for users of LinqToXsd tool and XObjectsCore runtime.Nuget packages:
NullableReferences element not appearing in generated config files.Nuget packages:
dotnet tool; it fixes a bug whereby a class constructor was being generated for classes for XSD elements, whose schema types are simple types, and said simple types are defined as enum restrictions on string types (like NMToken or xs:string) and the class constructor accepted a value for the enum type. The functional constructor now converts from the given string value to the inner enum type by parsing the string value and convert it to it's proper inner enum type (stored in the TypedValue property).Nuget packages:
dotnet tool; it re-enables .NET Core 3.1 as a runtime target, and also adds .NET 5, alongside .NET 6 that was added in 3.3.0.Nuget packages:
Nuget packages:
Nuget packages:
XName instantiations in generated code is now greatly reduced (see GitHub PR23).Nuget packages:
Nuget packages:
Nuget packages:
BuildWrapperDictionary() method generated inside the LinqToXsdTypeManager; it adds typeof(void) expressions, which breaks untyped XElement type conversion. Previous (and correct) behavior was to add typeof(T) expressions where T was the generated complex or global element type.AnyAtomicType resulted in an error.Nuget packages:
Nuget packages:
Added XTypedElementEqualityComparer and XTypedElementDeepEqualityComparer classes that implement IEqualityComparer{T} for the XTypedElement class.
Nuget packages:
Modified the behaviour of retrieving the value of an attribute, when the schema type is anyAtomicType (which is the default for attributes when no type is given). The value literal is now returned as a string (pre-existing behaviour would throw an exception saying that anyAtomicType is not a supported conversion to the CLR type 'string').
Nuget packages:
Nuget packages:
Nuget packages:
Nuget packages:
Nuget packages:
Fixes a bug that caused XTypedElement.Clone() to fail when generated code had the internal visibility modifier. This manifested in the CLI tool, when attempting to use it to generate an example configuration file linqtoxsd config 'file.xsd' -e.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 is compatible. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 netcoreapp3.1 is compatible. |
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.16 | 126 | 6/6/2026 |
| 3.4.15 | 165 | 5/9/2026 |
| 3.4.14 | 129 | 5/8/2026 |
| 3.4.13 | 168 | 4/21/2026 |
| 3.4.12 | 738 | 2/12/2026 |
| 3.4.11 | 1,076 | 7/3/2025 |
| 3.4.10 | 307 | 6/15/2025 |
| 3.4.9 | 321 | 6/4/2025 |
| 3.4.8 | 318 | 5/21/2025 |
| 3.4.7 | 3,094 | 7/19/2024 |
| 3.4.6 | 2,728 | 2/13/2024 |
| 3.4.5 | 409 | 2/6/2024 |
| 3.4.4 | 413 | 1/29/2024 |
| 3.4.3 | 397 | 1/24/2024 |
| 3.4.2 | 755 | 10/2/2023 |
| 3.4.1 | 412 | 9/16/2023 |
| 3.4.0 | 530 | 7/3/2023 |
| 3.3.3 | 811 | 1/6/2023 |
| 3.3.2 | 1,045 | 3/30/2022 |
| 3.3.1 | 644 | 3/29/2022 |