Table of Contents

Getting Started

Prerequisites

Steps

  1. Install .NET and Cosmos (read the Prerequisites)
  2. Create a new kernel project:
cosmos new MyKernel
cd MyKernel
  1. Once the project has been created, add the package to your project:
dotnet package add TrueDotBin.CosmosUtils
  1. Add these lines to the top of your Kernel.cs:
using TrueDotBin.CosmosUtils;
using TrueDotBin.CosmosUtils.FileSystem; // File system utilities
using TrueDotBin.CosmosUtils.Graphics;   // Nine-sliced images and text alignment
using TrueDotBin.CosmosUtils.Logging;    // Logger class
using TrueDotBin.CosmosUtils.Resources;  // Embedded resource loading

See the API docs for exact signatures.