PrimaryConstructor 1.4.0

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

// Install PrimaryConstructor as a Cake Tool
#tool nuget:?package=PrimaryConstructor&version=1.4.0

Generate primary constructor from readonly fields

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.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on PrimaryConstructor:

Package Downloads

Zero Install management of implementation caches, digital signatures, etc.


Zero Install services for solving dependencies, downloading implementations, executing apps, etc.


Utilities for creating and modifying Zero Install feed files


Zero Install methods for integrating applications with desktop environments (creating menu entries, etc.).


Zero Install data model for the feed format

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 20,122 2/21/2022
1.3.2 17,579 5/13/2021
1.3.1 302 4/22/2021
1.3.0 467 4/12/2021
1.2.0 233 4/8/2021
1.1.3 7,536 12/10/2020
1.0.4 346 10/26/2020