Microsoft.XmlSerializer.Generator 2.0.0-rc1

Prefix Reserved
This is a prerelease version of Microsoft.XmlSerializer.Generator.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package Microsoft.XmlSerializer.Generator --version 2.0.0-rc1
                    
NuGet\Install-Package Microsoft.XmlSerializer.Generator -Version 2.0.0-rc1
                    
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="Microsoft.XmlSerializer.Generator" Version="2.0.0-rc1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.XmlSerializer.Generator" Version="2.0.0-rc1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.XmlSerializer.Generator" />
                    
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 Microsoft.XmlSerializer.Generator --version 2.0.0-rc1
                    
#r "nuget: Microsoft.XmlSerializer.Generator, 2.0.0-rc1"
                    
#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 Microsoft.XmlSerializer.Generator@2.0.0-rc1
                    
#: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=Microsoft.XmlSerializer.Generator&version=2.0.0-rc1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.XmlSerializer.Generator&version=2.0.0-rc1&prerelease
                    
Install as a Cake Tool

Like the Xml Serializer Generator (sgen.exe) on desktop, Microsoft.XmlSerializer.Generator NuGet package is the solution for .NET Core and .NET Standard Libraries. It creates an Xml serialization assembly for types contained in an assembly in order to improve the startup performance of Xml serialization when serializing or de-serializing objects of those types using XmlSerializer.
8f968b9e79c5721d78cc88e46fe57457fe9d490d
When using NuGet 3.x this package requires at least version 3.4.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (53)

Showing the top 5 NuGet packages that depend on Microsoft.XmlSerializer.Generator:

Package Downloads
SharpOnvifCommon

A C# implementation of the Onvif interface - client as well as the server. All profiles are supported.

SharpOnvifClient.Media

A C# implementation of the Onvif interface - client as well as the server. All profiles are supported.

SharpOnvifClient.DeviceMgmt

A C# implementation of the Onvif interface - client as well as the server. All profiles are supported.

SharpOnvifClient.Events

A C# implementation of the Onvif interface - client as well as the server. All profiles are supported.

SharpOnvifClient.PTZ

A C# implementation of the Onvif interface - client as well as the server. All profiles are supported.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Microsoft.XmlSerializer.Generator:

Repository Stars
BruTile/BruTile
BruTile is a .NET library to access tile services like those of OpenStreetMap, MapBox or GeodanMaps.
Markemp/Cryengine-Converter
A c# program to convert Crytek files to Collada (XML) format
UblSharp/UblSharp
C# / .NET / XML library for working with OASIS UBL 2.0/2.1 documents
Version Downloads Last Updated
10.0.1 755 12/9/2025
10.0.0 16,556 11/11/2025
10.0.0-rc.2.25502.107 227 10/14/2025
10.0.0-rc.1.25451.107 200 9/9/2025
10.0.0-preview.7.25380.108 184 8/12/2025
10.0.0-preview.6.25358.103 259 7/15/2025
10.0.0-preview.5.25277.114 192 6/6/2025
10.0.0-preview.4.25258.110 255 5/12/2025
10.0.0-preview.3.25171.5 206 4/10/2025
10.0.0-preview.2.25163.2 163 3/18/2025
10.0.0-preview.1.25080.5 123 2/25/2025
9.0.11 2,578 11/11/2025
9.0.10 11,615 10/14/2025
9.0.9 24,929 9/9/2025
9.0.8 11,466 8/4/2025
9.0.7 8,144 7/8/2025
9.0.6 25,127 6/10/2025
9.0.5 15,388 5/13/2025
9.0.4 42,692 4/8/2025
9.0.3 27,719 3/11/2025
9.0.2 20,001 2/11/2025
9.0.1 7,221 1/14/2025
9.0.0 34,586 11/12/2024
9.0.0-rc.2.24473.5 471 10/8/2024
9.0.0-rc.1.24431.7 149 9/10/2024
9.0.0-preview.7.24405.7 136 8/13/2024
9.0.0-preview.6.24327.7 122 7/9/2024
9.0.0-preview.5.24306.7 145 6/11/2024
9.0.0-preview.4.24266.19 128 5/21/2024
9.0.0-preview.3.24172.9 166 4/11/2024
9.0.0-preview.2.24128.5 182 3/12/2024
9.0.0-preview.1.24080.9 245 2/13/2024
8.0.0 503,154 11/14/2023
8.0.0-rc.2.23479.6 261 10/10/2023
8.0.0-rc.1.23419.4 249 9/12/2023
8.0.0-preview.7.23375.6 544 8/8/2023
8.0.0-preview.6.23329.7 199 7/11/2023
8.0.0-preview.5.23280.8 229 6/13/2023
8.0.0-preview.4.23259.5 204 5/16/2023
8.0.0-preview.3.23174.8 510 4/11/2023
8.0.0-preview.2.23128.3 248 3/14/2023
8.0.0-preview.1.23110.8 238 2/21/2023
7.0.0 215,448 11/7/2022
7.0.0-rc.2.22472.3 399 10/11/2022
7.0.0-rc.1.22426.10 376 9/14/2022
7.0.0-preview.7.22375.6 260 8/9/2022
7.0.0-preview.6.22324.4 259 7/12/2022
7.0.0-preview.5.22301.12 285 6/14/2022
7.0.0-preview.4.22229.4 295 5/10/2022
7.0.0-preview.3.22175.4 267 4/13/2022
7.0.0-preview.2.22152.2 260 3/14/2022
7.0.0-preview.1.22076.8 585 2/17/2022
6.0.0 399,122 11/8/2021
6.0.0-rc.2.21480.5 335 10/12/2021
6.0.0-rc.1.21451.13 847 9/14/2021
6.0.0-preview.7.21377.19 446 8/10/2021
6.0.0-preview.6.21352.12 335 7/14/2021
6.0.0-preview.5.21301.5 335 6/15/2021
6.0.0-preview.4.21253.7 302 5/24/2021
6.0.0-preview.3.21201.4 364 4/8/2021
6.0.0-preview.2.21154.6 337 3/11/2021
6.0.0-preview.1.21102.12 1,289 2/12/2021
5.0.0 671,886 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 417 10/13/2020
5.0.0-rc.1.20451.14 439 9/14/2020
5.0.0-preview.8.20407.11 421 8/25/2020
5.0.0-preview.7.20364.11 429 7/21/2020
5.0.0-preview.6.20305.6 448 6/25/2020
5.0.0-preview.5.20278.1 443 6/10/2020
5.0.0-preview.4.20251.6 463 5/18/2020
5.0.0-preview.3.20214.6 431 4/23/2020
5.0.0-preview.2.20160.6 466 4/2/2020
5.0.0-preview.1.20120.5 519 3/16/2020
2.2.1 272,306 5/12/2020
2.2.0 89,481 12/3/2019
2.2.0-preview3.19551.4 1,081 11/13/2019
2.2.0-preview2.19523.17 467 11/1/2019
2.2.0-preview1.19504.10 530 10/15/2019
2.1.0 951,121 9/23/2019
2.1.0-rc1.19456.4 464 9/16/2019
2.1.0-preview9.19421.4 474 9/4/2019
2.1.0-preview9.19416.11 460 9/4/2019
2.1.0-preview8.19405.3 513 8/13/2019
2.1.0-preview7.19362.9 516 7/23/2019
2.1.0-preview6.19303.8 547 6/12/2019
2.1.0-preview6.19264.9 461 9/4/2019
2.1.0-preview5.19224.8 7,648 5/6/2019
2.1.0-preview4.19212.13 3,036 4/18/2019
2.1.0-preview3.19128.7 1,147 3/6/2019
2.1.0-preview.19073.11 7,309 1/29/2019
2.1.0-preview.18571.3 687 12/3/2018
2.0.0 298,228 5/29/2018
2.0.0-rc1 1,388 5/6/2018
2.0.0-preview2-26406-04 1,493 4/10/2018
2.0.0-preview1-26216-02 1,483 2/26/2018
1.0.0 157,065 12/8/2017
1.0.0-preview1-25915-02 1,522 11/15/2017