Create a project by using the C ++ custom wizard.
It adds three template files to the vcprojects directory under vcinstalldir.
The default structure of the template project is roughly the same.
The most important thing is the default. js under the script file category, which specifies the template logic.
Files under the template file category, that is, files automatically created by projects generated by the template, such as the README and pre-defined headers of C ++ that are common in ATL projects ..
The contents listed in templates. inf under the Miscellaneous file category are displayed in the project ..
The default. vcproj under miscellaneous files is probably the default project configuration.
First, I tried to add two files under the template file category and write them into templates. INF.
F5, open vs, and create a project. You can see that the newly created Project template has already appeared.
All the way down
Prompt.
Directly go to the prompted directory and find that the files under the template file category are saved under Templates \ 2052, but the newly added files are stored in the solution root directory by convention.
Copy. Create a new custom project. As follows:
However, the template project is not suitable here.
You can directly modify the. vsz file in % vcinstalldir % \ vcprojects mentioned above... Hmm
Here, we can see that. However, most of the time, I just want to make minor changes to the project templates provided by Vs, especially win32console.
As you can see, its template project is put in % vcinstalldir % \ vcwizards \ appwiz \ Generic
.....
Search for vsz under the VC directory and you will see many templates... Which one should I start?