Skip to content

Visual Studio New Item Templates only visible with meta package #6593

Closed as duplicate

Description

@Sella-GH

Describe the bug

The Visual Studio Add new Item... Templates are only visible when you reference the Microsoft.WindowsAppSDK meta package. If you make use of the split package functionality and only reference the Microsoft.WindowsAppSDK.WinUI package you can't see the templates at all.

Steps to reproduce the bug

  1. Create a new demo project
  2. Reference Microsoft.WindowsAppSDK.WinUI
  3. Right click on a folder to create a new item
  4. See that no WinUI templates are there

Expected behavior

The templates are provided within the Microsoft.WindowsAppSDK.WinUI package and not only when referencing the meta package.

Screenshots

With Meta package
Image

Without Meta package
Image

NuGet package version

1.8.260529003

Packaging type

Unpackaged

Windows version

Windows 11 version 25H2 (26200.8737, June 2026 Preview Update)

IDE

Visual Studio 2026 18.7.3

Additional context

I'm not entirely sure if this is a WinUI issue or a WindowsAppSDK issue. Apparently it's the latter as it has something to do with the packaging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions