Introduction

September 13, 2026 · View on GitHub

English | 简体中文

XamlNexus is a .NET CLI scaffolding tool for Windows desktop development. It generates runnable, editable projects with common client infrastructure and lets you add components as needed.

Choose a starting point

The default standard client includes a settings panel. A basic profile is also available. Optional components become source code in the user's project, where pages, services, configuration, and release scripts can be edited directly.

Two independent options select the starting point:

  • --preset winui|hybrid selects the process architecture: pure WinUI, or a WinUI frontend with a WPF background host.
  • --profile standard|basic selects the initial capabilities. Basic omits the full settings panel but keeps configuration, logging, navigation, themes, and localization infrastructure.

See the product model for capabilities and constraints. The hybrid host's tray and updater are still built in, rather than fully optional components.

Source ownership

add integrates component source and configuration into the project. The application registers and runs its own modules without a runtime scaffolding service. A Recipe describes how to add a component to a project: which files to copy, which dependencies to add, and which configuration to change.

xamlnexus.json records origins, versions, and baselines. Hashes protect user changes during automatic updates, removals, and upgrades; they are not editing permissions. Users do not need to recalculate hashes to keep developing. Manual conflict handling is required only when automatic changes cannot be made safely.

Repository layout

DirectoryPurpose
src/XamlNexusCLI entry point, command handling, and tool packaging
src/XamlNexus.CommonCreation, pages, running, diagnostics, transactions, and upgrades
src/XamlNexus.Generator.*Generation adapters for the two architectures
src/XamlNexus.Recipes.BuiltInBuilt-in component Recipes and assets
src/TemplatesClient source templates and shared publishing assets
src/XamlNexus.TemplateTestsAutomated tests
samples/SqliteShowcaseRunnable composition example
eng, root .githubRepository acceptance and release workflows
docsIntroduction, technical documentation, and user guides

Generated projects include .gitignore and .github. The latter provides only a PR restore/build/test workflow and a short PR template; users configure automated publishing themselves. Local release configuration is in eng/publishing/release.json. This repository retains its own root .github/workflows directory.

Getting started

Follow the quickstart to run your first project, or read the architecture to understand the implementation.