Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.18 KB

development.md

File metadata and controls

44 lines (31 loc) · 1.18 KB

Development

Prerequisites

  • .NET 10 SDK or newer
  • Windows (the app and tests target net10.0-windows)

Build and Run

git clone https://github.com/loxsmoke/openlogi-net.git
cd openlogi-net

# build the whole solution
dotnet build OpenLogi.slnx

# run the desktop app
dotnet run --project src/OpenLogi.App

# run the CLI
dotnet run --project src/OpenLogi.Cli -- list

Test

dotnet test OpenLogi.slnx

Build an Installable Release

Releases are produced by the Release GitHub Action (manually triggered): it fetches the next version, stamps it into the projects, publishes a self-contained, trimmed build, and packages both an Inno Setup installer and a portable zip. To reproduce the release build locally:

dotnet publish src/OpenLogi.App/OpenLogi.App.csproj -c Release -r win-x64 \
  --self-contained -p:PublishTrimmed=true -p:TrimMode=partial -o publish

The build is self-contained (the .NET runtime is bundled) and trimmed in partial mode -- only the .NET base libraries are trimmed, keeping the package around 20 MB while leaving device I/O, config, and UI code untouched.