VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

Template Export in Tutorial 02

Open Valrog opened this issue 7 years ago • 3 comments

It appears there is an issue in Visual Studio 2017 when exporting C++ templates.

Template error

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.

Valrog avatar Jan 16 '18 11:01 Valrog

Ah, looks like even the new project wizard completely changed. I'll update the chapter as soon as possible.

Overv avatar Jan 16 '18 21:01 Overv

I've posted a question about it on Stack Overflow:

https://stackoverflow.com/questions/48553375/exported-project-template-in-vs2017-misses-source-files

Overv avatar Feb 01 '18 00:02 Overv

I have removed the template instructions until I've found a way to fix template export to copy source files properly.

Overv avatar Feb 17 '18 23:02 Overv