Skip to content

En Building

hectoralvf edited this page Jul 18, 2026 · 1 revision

Building from source

Requirements

  • .NET 10 SDK
  • Visual Studio with the Desktop development with C++ workload (the Native AOT compilation links with the MSVC toolchain)
  • ViGEmBus driver at runtime

Build and run (development)

dotnet build
dotnet run --project src/Rodenstick.App

Release build (Native AOT)

dotnet publish src/Rodenstick.App -c Release -r win-x64

The self-contained native executable lands in src/Rodenstick.App/bin/Release/net10.0/win-x64/publish/rodenstick.exe. No .NET runtime is required on the target machine.

Tests

dotnet test

Installer

The Inno Setup script is installer/rodenstick_inno.iss; compile it with Inno Setup 6 or later after publishing the release build:

ISCC.exe installer/rodenstick_inno.iss

Wiki sync

The Codeberg and GitHub wikis are read-only mirrors of this docs/ folder, projected by scripts/sync-wiki.ps1 (run it after docs changes land on main). Never edit wiki pages directly — the next sync overwrites them.

One-time prerequisite per host: wikis are separate git repos that only start to exist after the first page is created, so enable the wiki in the repository settings and create any page from the web UI before the first sync, or the clone step fails.

Project layout

  • src/Rodenstick.Core — platform-independent logic (config, localization, mapping, capture orchestration)
  • src/Rodenstick.Platform.Windows — Win32 and ViGEm implementations of the Core abstractions
  • src/Rodenstick.App — Avalonia UI and composition root
  • tests/Rodenstick.Core.Tests — xUnit tests for Core

Clone this wiki locally