TypeGen 2.5.0

.NET 5.0 .NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package TypeGen --version 2.5.0
NuGet\Install-Package TypeGen -Version 2.5.0
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="TypeGen" Version="2.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TypeGen --version 2.5.0
#r "nuget: TypeGen, 2.5.0"
#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 TypeGen as a Cake Addin
#addin nuget:?package=TypeGen&version=2.5.0

// Install TypeGen as a Cake Tool
#tool nuget:?package=TypeGen&version=2.5.0

TypeGen is a single-class-per-file C# to TypeScript generator

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TypeGen:

Package Downloads
Bonliva.Messaging.Messages

Package Description

NetFusion.Rest.CodeGen

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 77 11/26/2022
3.1.0 4,138 10/23/2022
3.0.0 198,790 1/7/2022
2.5.0 80,333 10/31/2021
2.4.9 496,337 2/26/2020
2.4.8 11,246 12/15/2019
2.4.7 82,026 10/27/2019
2.4.6 1,023 10/18/2019
2.4.5 467 10/18/2019
2.4.4 2,657 10/13/2019
2.4.3 844 10/9/2019
2.4.2 4,943 8/23/2019
2.4.1 682 8/13/2019
2.4.0 2,550 8/8/2019
2.3.4 4,842 6/26/2019
2.3.3 518 6/20/2019
2.3.2 2,314 5/30/2019
2.3.1 1,265 5/18/2019
2.3.0 708 5/8/2019
2.2.1 621 4/25/2019
2.1.3 31,707 1/15/2019
2.1.2 920 1/4/2019
2.1.0 1,130 12/27/2018
2.0.1 8,292 12/6/2018
1.6.7 3,304 9/26/2018
1.6.6 813 9/12/2018
1.6.5 869 8/16/2018
1.6.4 16,708 7/5/2018
1.6.3 1,008 6/27/2018
1.6.2 964 6/18/2018
1.6.1 1,109 6/8/2018
1.6.0 3,540 10/22/2017
1.5.11 837 10/14/2017
1.5.10 838 10/12/2017
1.5.9 819 10/11/2017
1.5.8 851 10/5/2017
1.5.7 773 10/5/2017
1.5.6 6,237 7/18/2017
1.5.5 887 3/23/2017
1.5.3 881 2/25/2017
1.5.1 1,040 2/7/2017
1.5.0 874 1/31/2017
1.4.2 1,162 2/7/2017
1.4.1 958 1/16/2017
1.4.0 921 1/16/2017
1.3.0 8,640 9/18/2016
1.2.0 920 9/4/2016
1.1.2 869 8/16/2016
1.1.1 905 8/15/2016
1.1.0 875 8/14/2016
1.0.0 1,124 7/24/2016

- moved TypeGen to .NET 5.0. TypeGen CLI is now only available in .NET 5.0 and TypeGen.Core targets .NET Standard 2.0 and .NET 5.0
- dates are now represented in ISO 8601 Invariant Culture format (they are not culture specific) (issue #100)
- fixed issues with generic constraints (issue #110)
- fixed TsCustomBase not working for interfaces (issue #111)
- added "csAllowNullsForAllTypes" config option that specifies whether to add null union type to all generated types