DevTem.Templates
0.1.5
dotnet new install DevTem.Templates@0.1.5
DevTem Templates
dotnet new templates for production-ready WinUI 3 desktop apps (.NET 10)
plus an MVVM content-page scaffolder. Install once, scaffold in seconds —
in the terminal or Visual Studio's New Project dialog (same engine).
dotnet new install DevTem.Templates
devtem-winui — full desktop app
Unpackaged WinUI 3 app: Mica window, system tray, Velopack auto-updates, optional SQLite and HTTP services, 3-language UI (EN/ES/FR), persisted settings, Serilog logging + optional Sentry crash reports, MSIX packaging script, release pipeline.
dotnet new devtem-winui -n AcmeDesk --displayName "Acme Desk" --company "Acme" `
--repo "acme/desk-app" --scheme "acme://" --tray false
| Parameter | Meaning |
|---|---|
-n |
Namespace, file names, mutex/registry/folders (AcmeDesk) |
--displayName |
Display name (titles, toasts, installer) |
--company |
Pack author |
--repo |
GitHub org/name (feeds, links, CI) |
--scheme |
Deep-link URI scheme (acme://) |
--tray / --updates / --database / --http |
Feature on/off (false drops it; all default on) |
Names with spaces work (-n "My App" → My_App identifiers and files).
In Visual Studio the parameters render as dialog fields and checkboxes.
Every generated project also includes docs/FEATURES.md, which records the
selected options and next steps; disabled feature guides are omitted.
Profile presets
The template keeps one composable set of feature switches. These stable presets provide coherent starting points without hiding the individual options:
| Profile | Command flags | Included optional services |
|---|---|---|
| Minimal | --tray false --updates false --database false --http false --attribution false |
None |
| Desktop | --updates false --database false --http false |
Tray and desktop notifications |
| Production | no feature overrides | Tray, updates, SQLite, HTTP, attribution |
Apply a preset by copying its flags into the scaffold command, then change
any individual flag as needed. Individual flags are authoritative; there is
no separate --profile parameter.
devtem-page — content page
XAML + code-behind (INavigationAware, localization, responsive) +
transient ViewModel + MSTest stub. Wire-up (strings, DI, route) takes
~5 minutes; the generated test proves the strings landed in all languages.
dotnet new devtem-page -n Orders
Updating
dotnet new update --check-only
dotnet new update
Links
- Source + docs: https://github.com/Fettah010/winui-3-easy-template
- Issues: https://github.com/Fettah010/winui-3-easy-template/issues
- License: MIT
-
.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.