VijayAnand.WinUITemplates
1.0.3
Prefix Reserved
See the version list below for details.
dotnet new install VijayAnand.WinUITemplates::1.0.3
CLI Project and Item Templates for developing WinUI 3 based Desktop Apps
CLI project template for developing WinUI 3 App and Class Library and is named as winui
and winuilib
respectively.
CLI item template for WinUI 3 Page, UserControl, and Window and is named as winui-page
, winui-usercontrol
, and winui-window
respectively.
To install the template NuGet package, use the below .NET CLI command:
dotnet new install VijayAnand.WinUITemplates
If you've already installed this package, then it can be updated to the latest version with the below command:
dotnet new update --check-only
dotnet new update
Use the below .NET CLI command to create the projects out these template:
dotnet new winui -n MyWinUIApp
dotnet new winuilib -n MyWinUILib
Both the project templates take the below optional parameter to include the officially supported CommunityToolkit.Mvvm NuGet package.
-imt
|--include-mvvm-toolkit
- Default value is false
dotnet new winui -n MyWinUIApp -imt
dotnet new winuilib -n MyWinUILib -imt
Use the below .NET CLI command to create the items out these template:
All of these item templates take two parameters:
-n
|--name
- Name of the item-na
|--namespace
- Namespace for the item being created
Note: While working with .NET 7 SDK, the namespace parameter in short notation needs to be prefixed with -p:
and hence this need to be mentioned as -p:na
.
Page:
dotnet new winui-page -n OrderPage -na MyWinUIApp.Pages
UserControl:
dotnet new winui-usercontrol -n CardView -na MyWinUIApp.Views
Window:
dotnet new winui-window -n MainWindow -na MyWinUIApp
-
.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 |
---|---|---|
3.5.0 | 223 | 9/17/2024 |
3.4.0 | 114 | 8/22/2024 |
3.3.0 | 143 | 6/26/2024 |
3.2.0 | 91 | 5/31/2024 |
3.1.0 | 869 | 2/22/2024 |
3.0.0 | 117 | 2/20/2024 |
2.2.0 | 623 | 1/28/2024 |
2.2.0-preview.4 | 2,583 | 10/13/2023 |
2.2.0-preview.3 | 77 | 9/21/2023 |
2.2.0-preview.2 | 94 | 3/30/2023 |
2.2.0-preview.1 | 91 | 3/30/2023 |
2.1.0 | 342 | 3/17/2023 |
2.0.0 | 112 | 3/2/2023 |
1.0.3 | 445 | 11/20/2022 |
1.0.2 | 445 | 11/15/2022 |
1.0.1 | 383 | 11/15/2022 |
What's new in ver. 1.0.3:
-------------------------
Little housekeeping to make it more reliable.
v1.0.2:
Added Item Templates for WinUI 3 Page, UserControl, and Window.
v1.0.1:
For CLI build to succeed, included the EnableMsixTooling property to the library project template.
v1.0.0:
Initial release of WinUI 3 App and Class Library Templates for CLI.