WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

WinUI templates should not show up in Blend

Open mgoertz-msft opened this issue 2 years ago • 3 comments

Describe the bug

VS and Blend do not have a designer for WinUI, so the WinUI templates should not be available in Blend, which is primarily for design experiences.

Steps to reproduce the bug

  1. Install Visual Studio and add the .NET Desktop and UWP workloads (make sure the Windows App SDK C# templates are selected in the optional components for the .NET Desktop workload)
  2. Launch Blend from the Start menu
  3. Click Create new project

WinUI templates show up with unfriendly titles and descriptions.

Expected behavior

WinUI templates should not even be available in Blend, since there is no designer for WinUI.

Screenshots

image

NuGet package version

None

Packaging type

No response

Windows version

Windows 11 version 21H2 (22000)

IDE

Visual Studio 2022-preview

Additional context

No response

mgoertz-msft avatar Dec 01 '22 17:12 mgoertz-msft

The likely fix is to just remove this line from the .vstemplate files:

<AppIdFilter>blend</AppIdFilter>

MSLukeWest avatar Dec 01 '22 17:12 MSLukeWest

Thank you @MSLukeWest! I forgot to include that in the issue description above.

mgoertz-msft avatar Dec 01 '22 19:12 mgoertz-msft

@evelynwu-msft This change seems to have made it into the latest 1.4 templates, as I no longer see these templates in Blend. So, this issue can probably be closed.

MSLukeWest avatar Mar 02 '24 00:03 MSLukeWest