You can directly link your project to source instead of a NuGet package for improved debuggability, access to fixes and features before NuGet packages are published, or if you are interested in contributing.
If you have already added the Gum NuGet package to your project, remove it.
Add the following projects to your solution:
<Gum Root>/SkiaGum/SkiaGum.csproj
<GumRoot>/GumCommon/GumCommon.csproj
Next, add SkiaGum as a project reference in your game project. Your project might look like this depending on the location of the Gum repository relative to your game project:
Initializing Gum
Gum requires SkiaSharp to render in Silk.NET. A full Silk.NET project requires a few hundred lines of code, so an entire Program file is not included here. The relevant code is included in the following block of code:
For a working project, see the Gum Silk.NET sample: