Microsoft.UI.Reactor.ProjectTemplates 0.1.0-preview.5

Prefix Reserved
This is a prerelease version of Microsoft.UI.Reactor.ProjectTemplates.
dotnet new install Microsoft.UI.Reactor.ProjectTemplates@0.1.0-preview.5
                    
This package contains a .NET Template Package you can call from the shell/command line.

Microsoft.UI.Reactor.ProjectTemplates

dotnet new templates for scaffolding Microsoft.UI.Reactor apps — a ready-to-run WinUI 3 Reactor project in one command.

About

This package installs project templates for the .NET CLI and Visual Studio so you can create a new declarative WinUI 3 desktop app powered by Reactor without wiring up the project by hand.

How to Use

Install the templates:

dotnet new install Microsoft.UI.Reactor.ProjectTemplates

Create a new Reactor app:

dotnet new reactorapp -n MyApp
cd MyApp
dotnet run -p:Platform=x64

This scaffolds a runnable WinUI 3 project that references Microsoft.UI.Reactor and the Windows App SDK, with a root component already wired up through ReactorApp.Run.

Template options

  • --NativeAot (bool, default false) — configure the project for Native AOT publishing.
  • --UseProgramMain (bool, default false) — generate an explicit Program.Main instead of top-level statements.
  • --Framework <tfm> (default net10.0) — choose the target framework.
# Example: a Native AOT-ready app with an explicit Main method
dotnet new reactorapp -n MyApp --NativeAot --UseProgramMain

Included Templates

  • Microsoft WinUI Reactor App (short name reactorapp) — a Windows WinUI 3 application using Reactor (C#).

Updating and uninstalling

# Update to the latest published templates
dotnet new update

# Remove the templates
dotnet new uninstall Microsoft.UI.Reactor.ProjectTemplates

Additional Documentation

Feedback & Contributing

These templates are part of the open-source Reactor project. File issues, ask questions, and contribute on GitHub. See CONTRIBUTING.md to get started.

Support Policy

This package is currently released as a preview and is provided under the MIT License. APIs may change between preview releases.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.5 37 6/12/2026
0.1.0-preview.4 57 6/11/2026