Skip to content

Added FileBased app Template#567

Open
licon4812 wants to merge 2 commits into
microsoft:mainfrom
licon4812:templates-filebased
Open

Added FileBased app Template#567
licon4812 wants to merge 2 commits into
microsoft:mainfrom
licon4812:templates-filebased

Conversation

@licon4812

Copy link
Copy Markdown

Summary

Added template for File-Based Apps. Due to the nature of Reactor UI, File Based apps are an excellent usecase, and being able to generate one from the template is a good thing

Risk / breaking changes

No API Changes purely added a new template

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new dotnet new project template intended for WinUI Reactor “file-based” apps, mirroring the existing C# WinUI template but using Directory.Build.props / Directory.Packages.props + a single App.cs entrypoint.

Changes:

  • Introduces the WinUiApp-FileBased template definition and dotnet CLI host configuration.
  • Adds file-based app build/package configuration via Directory.Build.props and Directory.Packages.props.
  • Provides a starter App.cs and default launch profiles (incl. a devtools profile).
Show a summary per file
File Description
tools/Templates/templates/WinUiApp-FileBased/Properties/launchSettings.json Launch profiles for default run and devtools run.
tools/Templates/templates/WinUiApp-FileBased/Directory.Packages.props Package references + Debug-only devtools package/host option.
tools/Templates/templates/WinUiApp-FileBased/Directory.Build.props WinUI/WindowsAppSDK build configuration for file-based app builds.
tools/Templates/templates/WinUiApp-FileBased/App.cs Starter Reactor app with optional top-level program.
tools/Templates/templates/WinUiApp-FileBased/.template.config/template.json Template metadata, parameters, outputs, and post-actions.
tools/Templates/templates/WinUiApp-FileBased/.template.config/dotnetcli.host.json dotnet CLI parameter mappings for the template.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 6/6 changed files
  • Comments generated: 2

Comment thread tools/Templates/templates/WinUiApp-FileBased/Properties/launchSettings.json Outdated

@codemonkeychris codemonkeychris left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please address the CR feedback

@licon4812

Copy link
Copy Markdown
Author

please address the CR feedback

Resolved CR feedback

@codemonkeychris codemonkeychris left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebase on main to address the vuln dependency issue

@licon4812 licon4812 force-pushed the templates-filebased branch from de829bc to c3f6c1c Compare June 13, 2026 01:51
@licon4812

Copy link
Copy Markdown
Author

rebase on main to address the vuln dependency issue

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants