Include 5.0 templates as well as 6.0 ones in layout

This commit is contained in:
Daniel Plaisted 2020-10-16 16:24:23 -07:00
parent fb9545ecd3
commit 1f156bca3c

View file

@ -211,9 +211,16 @@
<ItemGroup Condition="!$(ProductMonikerRid.StartsWith('win'))">
<Bundled60Templates Remove="Microsoft.Dotnet.Wpf.ProjectTemplates" />
<Bundled60Templates Remove="Microsoft.Dotnet.WinForms.ProjectTemplates" />
<Bundled50Templates Remove="Microsoft.Dotnet.Wpf.ProjectTemplates" />
<Bundled50Templates Remove="Microsoft.Dotnet.WinForms.ProjectTemplates" />
</ItemGroup>
<Copy SourceFiles="%(Bundled60Templates.RestoredNupkgPath)"
DestinationFolder="$(RedistLayoutPath)templates/$(BundledTemplates60InstallPath)"/>
<!-- Since not all the templates have 6.0 versions yet, include the 5.0 versions in the layout for now -->
<Copy SourceFiles="%(Bundled50Templates.RestoredNupkgPath)"
DestinationFolder="$(RedistLayoutPath)templates/$(BundledTemplates60InstallPath)"/>
</Target>
<Target Name="LayoutTemplatesFor60MSI"