CK.CodeGen
17.0.2
dotnet add package CK.CodeGen --version 17.0.2
NuGet\Install-Package CK.CodeGen -Version 17.0.2
<PackageReference Include="CK.CodeGen" Version="17.0.2" />
<PackageVersion Include="CK.CodeGen" Version="17.0.2" />
<PackageReference Include="CK.CodeGen" />
paket add CK.CodeGen --version 17.0.2
#r "nuget: CK.CodeGen, 17.0.2"
#:package CK.CodeGen@17.0.2
#addin nuget:?package=CK.CodeGen&version=17.0.2
#tool nuget:?package=CK.CodeGen&version=17.0.2
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 | Versions 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. |
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 |