Repository navigation
Added FileBased app Template - #567
James Alickolli (licon4812) wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
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-FileBasedtemplate definition and dotnet CLI host configuration. - Adds file-based app build/package configuration via
Directory.Build.propsandDirectory.Packages.props. - Provides a starter
App.csand 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
Chris Anderson (codemonkeychris)
left a comment
There was a problem hiding this comment.
please address the CR feedback
Resolved CR feedback |
Chris Anderson (codemonkeychris)
left a comment
There was a problem hiding this comment.
rebase on main to address the vuln dependency issue
de829bc to
c3f6c1c
Compare
Done |
|
Thanks James Alickolli (@licon4812) for this, and sorry it sat so long. Since you opened it, Reactor's project templates moved out of this repo into the Windows App SDK |
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