Update templates for platform selection
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
[templating/Reference-for-template.json.md at main · dotnet/templating (github.com)](https://github.com/dotnet/templating/blob/main/docs/Reference-for-template.json.md#multichoice-symbols-specifics)
This will enable you to do something like this:
```console
> dotnet new maui -n JustDesktop --Platforms macos windows
```
Including the options will not impact existing template usage from CLI or VS in older versions. When the capability rolls out in .NET 7 and Visual Studio it will light up.
### (Public) API Changes
none
### Usage Scenarios
```console
> dotnet new maui -n JustDesktop --Platforms macos windows
```
For more examples see the docs
### Backward Compatibility
yes, backwards compatible
### Difficulty
Low
Contributor guide
Research direction
Start with docs/Reference-for-template.json.md at the multichoice-symbols section and the `dotnet new maui -n JustDesktop --Platforms macos windows` example. Identify the MAUI template definitions that need platform-selection options, then verify that the command supports the example while existing CLI and Visual Studio usage remains compatible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100