walbourn / directx-vs-templates

Direct3D Visual Studio Templates
https://walbourn.github.io/direct3d-game-visual-studio-templates-redux/
MIT License
412 stars 56 forks source link

Win32 templates for VS 2019 shouldn't use UWP dialog #50

Closed walbourn closed 3 years ago

walbourn commented 3 years ago

Rather than prompt for which Windows SDK to use, the VS 2019 Win32 projects should just default to 'latest installed'

walbourn commented 3 years ago

The same manifests are used for VS 2017 and VS 2019, so this is a bit tricky to do right now. When I drop VS 2017, I can do thsi.

walbourn commented 3 years ago

I could remove the invoke of Microsoft.VisualStudio.Universal.TemplateWizards from the Win32 projects completely, and have the MyPlatformToolset Wizard set $targetplatformversion$ to "10.0" for Dev16/Dev17, and "10.0.19041.0" for VS 2017.

This might require changing the invoke order for the wizards in the UWP templates as well.

walbourn commented 3 years ago

Fixed in this commit