CK.CodeGen 17.0.2

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

A mutable model of a C# source file, so that generated code does not have to be written in order.

Namespaces, types and functions are scopes that can be navigated and written into at any time, and any scope can be segmented into parts that are filled later. Independent code generators can therefore contribute to the same type without agreeing on an order, everything falling into place when the workspace is built.

Also provides source-safe appending of values (primitives, Guid, DateTime, enums, type names, typeof expressions), parsed type and function definitions, and a resolved view of nullable reference type annotations through NullableTypeTree.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on CK.CodeGen:

Package Downloads
CK.StObj.Runtime

Facade for the CK.StObj.Engine that handles StObj implementation, Automatic DI resolution and Source Code generation. This is a SetupDependency of CK.StObj.Model that is dynamically resolved by CKSetup.

CK.CodeGen.Roslyn

Compiles a CK.CodeGen workspace into an assembly with Roslyn.

CK.Cris.Engine

Setup-time engine for Cris. Not referenced by applications: it is loaded by the CKSetup engine, and the Cris attributes name it by string.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.0.2 794 12/1/2026
17.0.1 1,654 10/8/2026
17.0.0 817 10/7/2026
16.0.0 826 9/25/2026
15.1.1 1,386 9/23/2026
15.1.0 1,369 9/20/2026
15.0.4 1,381 9/11/2026
15.0.3 1,421 9/4/2026
15.0.2 1,395 9/1/2026
15.0.1 3,102 5/28/2026
15.0.0 1,660 4/21/2026
14.0.2 4,346 11/14/2025
14.0.1 4,121 9/27/2025
14.0.0 2,567 9/11/2025
13.0.0 1,477 7/4/2025
12.1.0 1,662 4/10/2025
12.0.1 1,459 3/19/2025
12.0.0 1,509 3/17/2025
11.1.0 2,692 2/3/2025
11.0.0 2,568 11/21/2024
Loading failed