From 8da046a1c3335eeda6df2da8a598ee7d43612f68 Mon Sep 17 00:00:00 2001 From: Raul Perez Date: Fri, 11 Nov 2022 18:18:34 -0800 Subject: [PATCH] Add fields to filter out templates appearing in the add new item dialog for non UAP projects (#1227) --- vsix/ItemTemplates/BlankPage/cppwinrt_BlankPage.vstemplate | 6 +++++- .../BlankUserControl/cppwinrt_BlankUserControl.vstemplate | 6 +++++- vsix/ItemTemplates/ViewModel/cppwinrt_ViewModel.vstemplate | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/vsix/ItemTemplates/BlankPage/cppwinrt_BlankPage.vstemplate b/vsix/ItemTemplates/BlankPage/cppwinrt_BlankPage.vstemplate index 672d43b2f..bf6c43e9e 100644 --- a/vsix/ItemTemplates/BlankPage/cppwinrt_BlankPage.vstemplate +++ b/vsix/ItemTemplates/BlankPage/cppwinrt_BlankPage.vstemplate @@ -4,8 +4,12 @@ VC - 10 + 40 microsoft.Windows.CppWinRT.BlankPage + WinRT-Native-UAP + VisualC + WindowsXaml + 0 + false cppwinrt.ico cppwinrt.png diff --git a/vsix/ItemTemplates/BlankUserControl/cppwinrt_BlankUserControl.vstemplate b/vsix/ItemTemplates/BlankUserControl/cppwinrt_BlankUserControl.vstemplate index e872ae3e0..f457df025 100644 --- a/vsix/ItemTemplates/BlankUserControl/cppwinrt_BlankUserControl.vstemplate +++ b/vsix/ItemTemplates/BlankUserControl/cppwinrt_BlankUserControl.vstemplate @@ -4,8 +4,12 @@ VC - 10 + 41 microsoft.Windows.CppWinRT.BlankUserControl + WinRT-Native-UAP + VisualC + WindowsXaml + 0 + false cppwinrt.ico cppwinrt.png diff --git a/vsix/ItemTemplates/ViewModel/cppwinrt_ViewModel.vstemplate b/vsix/ItemTemplates/ViewModel/cppwinrt_ViewModel.vstemplate index 5e5a5dbdd..20d2bcd90 100644 --- a/vsix/ItemTemplates/ViewModel/cppwinrt_ViewModel.vstemplate +++ b/vsix/ItemTemplates/ViewModel/cppwinrt_ViewModel.vstemplate @@ -4,8 +4,12 @@ VC - 10 + 42 microsoft.Windows.CppWinRT.ViewModel + WinRT-Native-UAP + VisualC + WindowsXaml + 0 + false cppwinrt.ico cppwinrt.png