Skip to content

WinUI template fields in Visual Studio use raw parameter names and targetPlatformMinVersion should be a dropdown #6341

Closed

Description

Describe the bug

When WinUI templates are installed via dotnet new and used from Visual Studio's Create a new project flow, the additional options page shows raw/internal parameter names instead of user-friendly display titles.

Examples currently shown in UI:

  • dotnetVersion
  • targetPlatformMinVersion
  • publisherDn
  • publisherDisplay
  • UseLatestWindowsAppSDK

These should use proper display labels suitable for end users.

Additional UX issue

targetPlatformMinVersion should be a dropdown/select list of valid values (known Windows target min versions), not a plain free-text field.

Steps to reproduce

  1. Install the WinUI templates via dotnet new.
  2. Open Visual Studio.
  3. Create a new project using a WinUI template.
  4. In the Additional information screen, inspect the option labels and control types.

Expected behavior

  • Friendly display names (for example: "Target platform minimum version" instead of targetPlatformMinVersion).
  • targetPlatformMinVersion presented as a dropdown with supported values.

Actual behavior

  • Raw parameter identifiers are shown directly in the UI.
  • targetPlatformMinVersion appears as free-text input.

Screenshot

WinUI template additional information field names

Environment

  • Visual Studio: latest
  • WinUI templates installed via dotnet new
  • OS: Windows 11

Related

Activity

  1. added
    area-WinAppSDK:Templates
    on Mar 26, 2026
  2. botMorten commented on May 6, 2026

    @botMorten
    Author

    Closing this out as fixed by the linked PR. Huge thanks to everyone who helped investigate, implement the fix, and review it — really appreciate the teamwork! 🙌

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

Metadata

Metadata

Labels

area-WinAppSDK:Templates

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions