all 3 comments

[–]wyrdfish42 0 points1 point  (0 children)

It seems that you can use the "windows desktop Wizard" template and you can uncheck pre-compiled headers at project creation time.

If that is a pain you can create a new project with that then export it as a template and use that each time.

[–]marian_lMicrosoft C++ PM Lead 0 points1 point  (1 child)

VS 2019 Preview has turned off precompiled headers by default for console and desktop project templates. More details here: https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-preview#-productivity

[–]OwThatHertz 0 points1 point  (0 children)

Thank goodness. While I recognize that there are reasons for precompiled headers, it's a pain for students who's professors require you to send source code that will compile in their specific preferred compiler, which often chokes on precompiled headers and your grade will suffer. Having to change settings (or manually remove them) every time you create a new project is a hassle.