Getting Started
Prerequisites
- .NET SDK 10.0 or later
- Cosmos Gen 3
Steps
- Install .NET and Cosmos (read the Prerequisites)
- Create a new kernel project:
cosmos new MyKernel
cd MyKernel
- Once the project has been created, add the package to your project:
dotnet package add TrueDotBin.CosmosUtils
- 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.