How do you turn off "precompiled header", default "checked" MS VS

3.1k views Asked by At

When I make a new project, the precomp header defaults on. How do I make it default off?

1

There are 1 answers

0
Hans Passant On BEST ANSWER

Locate the AppSettings.htm file in the vc\vcwizards\appwiz\generic\application\html\xxxx subdirectory of the VS install directory. xxxx is your language id, it is 1033 for English. Make a copy of the file and open it in a text editor. Locate the InitControls javascript function. Add the line

 PRE_COMPILED_HEADER.checked = false;

to the if() statement that checks CONSOLE_APP.checked. Further tweak as needed, I haven't otherwise checked this.