Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CollapseLauncher/Collapse/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before building, install the following tools:| Tool | Version | Notes |
|---|---|---|
| Visual Studio 2022 or JetBrains Rider | Latest | Any edition. Include .NET desktop development workload in VS. |
| Windows SDK | 10.0.26100.0 only | Install via Visual Studio Installer |
| .NET SDK | 10.0.2xx (GA) | Configured in global.json — use rollForward: latestPatch |
Clone the repository
Collapse uses Git submodules extensively. Always clone with--recurse:
--recurse, initialize submodules manually:
Build configurations
There are three build configurations, each using a different publish profile:- Debug (Canary)
- Preview (NativeAOT)
- Stable (NativeAOT)
Used for local development and CI canary builds. Produces a JIT-compiled binary — faster to build, easier to debug.
The target framework is
net10.0-windows10.0.26100.0 (x64 only). Release builds use NativeAOT for smaller, faster executables — but NativeAOT compilation takes significantly longer than a standard JIT build.Opening in your IDE
OpenCollapseLauncher.sln (or CollapseLauncher.slnx for the new solution format) in Visual Studio 2022 or JetBrains Rider. Set the startup project to CollapseLauncher.
Project structure
The solution contains the main app and several helper library projects:Troubleshooting builds
Build fails with 'Windows SDK not found'
Build fails with 'Windows SDK not found'
Open Visual Studio Installer → Modify your VS 2022 installation → Individual components → search for
Windows SDK 10.0.26100.0 and install it.Submodule files are missing
Submodule files are missing
Run
git submodule update --init --recursive from the repository root.NativeAOT compilation fails
NativeAOT compilation fails
NativeAOT requires the Desktop development with C++ workload in Visual Studio (for the MSVC linker). Install it via Visual Studio Installer.
Wrong .NET SDK version
Wrong .NET SDK version
Check the
global.json at the repo root — it pins the SDK to 10.0.200 with latestPatch rollForward. Run dotnet --version to confirm your installed SDK matches.