You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using the independent WinUI 3 package, Visual Studio cannot find the WinUI template #5923
Status: In PRA resolution to this issue is currently in a pull request.area-WinAppSDK:TemplatesTopics related to Visual Studio templates for Windows App SDK
Thanks so much for opening this issue! Could you share a bit more detail and the exact steps you followed to reproduce it?
It would also help to know whether this involved a WinUI control template not being visible, and which Visual Studio version you’re using.
Thanks so much for opening this issue! Could you share a bit more detail and the exact steps you followed to reproduce it? It would also help to know whether this involved a WinUI control template not being visible, and which Visual Studio version you’re using.
This is my Visual Studio version. I use VS 2026 Insiders.
After creating the WinUI 3 project, modify <PackageReference` Include="Microsoft.WindowsAppSDK" Version="1.8.251003001" /> under csproj to
Thanks for following up! When you click the template:
Does it fail to load, show an error, or simply not appear for selection?
What was the expected behavior, and what actually happened?
Which template does this happen for, or is it occurring for any template?
Any error messages or codes you saw?
We appreciate your help in clarifying this!
It does not display the WinUI option (that is, the template corresponding to WinUI 3) in the left list.
The WinUI option, that is, the WinUI 3 template, should be displayed, but in fact, it is not shown
It occurs on the WinUI 3 (Windows App SDK) template
No
May I ask a question? Does WinUI 3 (Windows App SDK) have a convenient switch for UWP (WinRT Xaml) to enable control templates? In UWP (WinRT Xaml), the XAML template can be enabled using <ProjectCapability` Include="Uwp" />
Status: In PRA resolution to this issue is currently in a pull request.area-WinAppSDK:TemplatesTopics related to Visual Studio templates for Windows App SDK
Activity
ssparach commentedon Oct 21, 2025
Thanks so much for opening this issue! Could you share a bit more detail and the exact steps you followed to reproduce it?
It would also help to know whether this involved a WinUI control template not being visible, and which Visual Studio version you’re using.
Gaoyifei1011 commentedon Oct 21, 2025
This is my Visual Studio version. I use VS 2026 Insiders.

After creating the WinUI 3 project, modify
<PackageReference` Include="Microsoft.WindowsAppSDK" Version="1.8.251003001" />under csproj to, restart Visual Studio, and then create a new template
ssparach commentedon Oct 23, 2025
Thanks for following up!
When you click the template:
We appreciate your help in clarifying this!
Gaoyifei1011 commentedon Oct 24, 2025
May I ask a question? Does WinUI 3 (Windows App SDK) have a convenient switch for UWP (WinRT Xaml) to enable control templates? In UWP (WinRT Xaml), the XAML template can be enabled using
<ProjectCapability` Include="Uwp" />New ItemTemplates only visible with meta package #6593 as a duplicate of this issue