VulkanTutorial
VulkanTutorial copied to clipboard
Template Export in Tutorial 02
It appears there is an issue in Visual Studio 2017 when exporting C++ templates.
It seems that Visual Studio doesn't include the files added through Add -> New Item..., I'm not sure if this is intended behaviour or not. A quick workaround I've found is to drag and drop the main.cpp file into the project rather than adding files through that system. Exporting the template should then work as one would expect.
Perhaps this could be noted in the tutorial in the Template Export section.
Ah, looks like even the new project wizard completely changed. I'll update the chapter as soon as possible.
I've posted a question about it on Stack Overflow:
https://stackoverflow.com/questions/48553375/exported-project-template-in-vs2017-misses-source-files
I have removed the template instructions until I've found a way to fix template export to copy source files properly.