Skip to content

Install

Tristin Porter edited this page Jan 9, 2026 · 1 revision

CDTk Installation and Usage Guide

The CDTk NuGet is a complete NuGet wrapper over CDTk. This guide explains how to install CDTk via NuGet or use it manually by copying the file directly into your project.


Installation

Option 1: Install via NuGet Package Manager

  1. Open your project in Visual Studio.
  2. Go to the Tools menu and select NuGet Package Manager > Manage NuGet Packages for Solution....
  3. Search for CDTk in the NuGet Package Manager.
  4. Select the package and click Install.

Alternatively, you can install the package via the Package Manager Console:

Install-Package CDTk

You can also install it using the .NET CLI:

dotnet add package CDTk

Option 2: Manual Installation

If you prefer not to use NuGet, you can manually include the source file in your project:

  1. Visit the CDTk repository and locate the cdtk.cs file.
  2. Download or copy the cdtk.cs file.
  3. Add the file to your project folder.
  4. In your project, right-click on your solution and select Add > Existing Item....
  5. Navigate to the location of the cdtk.cs file and add it to your project.

Usage

Once installed, you can begin using the helper methods provided by CDTk immediately within your code. The library is designed to be lightweight and unobtrusive, allowing easy integration into your project.

Next Steps

  • Learn: Learn to use CDTk.

Clone this wiki locally