Skip to content

Commit

Permalink
Add fields to filter out templates appearing in the add new item dial…
Browse files Browse the repository at this point in the history
…og for non UAP projects (#1227)
  • Loading branch information
RaulPerez1 authored Nov 12, 2022
1 parent fb9ef7b commit 8da046a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion vsix/ItemTemplates/BlankPage/cppwinrt_BlankPage.vstemplate
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
<Name ID="1013" Package="FIXME-PACKAGEGUID" />
<Description ID="1014" Package="FIXME-PACKAGEGUID" />
<ProjectType>VC</ProjectType>
<SortOrder>10</SortOrder>
<SortOrder>40</SortOrder>
<TemplateID>microsoft.Windows.CppWinRT.BlankPage</TemplateID>
<TemplateGroupID>WinRT-Native-UAP</TemplateGroupID>
<AppliesTo>VisualC + WindowsXaml</AppliesTo>
<NumberOfParentCategoriesToRollUp>0</NumberOfParentCategoriesToRollUp>
<ShowByDefault>false</ShowByDefault>
<Icon>cppwinrt.ico</Icon>
<PreviewImage>cppwinrt.png</PreviewImage>
</TemplateData>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
<Name ID="1015" Package="FIXME-PACKAGEGUID" />
<Description ID="1016" Package="FIXME-PACKAGEGUID" />
<ProjectType>VC</ProjectType>
<SortOrder>10</SortOrder>
<SortOrder>41</SortOrder>
<TemplateID>microsoft.Windows.CppWinRT.BlankUserControl</TemplateID>
<TemplateGroupID>WinRT-Native-UAP</TemplateGroupID>
<AppliesTo>VisualC + WindowsXaml</AppliesTo>
<NumberOfParentCategoriesToRollUp>0</NumberOfParentCategoriesToRollUp>
<ShowByDefault>false</ShowByDefault>
<Icon>cppwinrt.ico</Icon>
<PreviewImage>cppwinrt.png</PreviewImage>
</TemplateData>
Expand Down
6 changes: 5 additions & 1 deletion vsix/ItemTemplates/ViewModel/cppwinrt_ViewModel.vstemplate
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
<Name ID="1017" Package="FIXME-PACKAGEGUID" />
<Description ID="1018" Package="FIXME-PACKAGEGUID" />
<ProjectType>VC</ProjectType>
<SortOrder>10</SortOrder>
<SortOrder>42</SortOrder>
<TemplateID>microsoft.Windows.CppWinRT.ViewModel</TemplateID>
<TemplateGroupID>WinRT-Native-UAP</TemplateGroupID>
<AppliesTo>VisualC + WindowsXaml</AppliesTo>
<NumberOfParentCategoriesToRollUp>0</NumberOfParentCategoriesToRollUp>
<ShowByDefault>false</ShowByDefault>
<Icon>cppwinrt.ico</Icon>
<PreviewImage>cppwinrt.png</PreviewImage>
</TemplateData>
Expand Down

0 comments on commit 8da046a

Please sign in to comment.