How to create a Visual Studio 2008 C ++ project template?

I have repeatedly used the Export Template feature for C #, ASP.NET, WinForms projects, etc. Today I tried to do this for a C ++ project and noticed that the "Export Template" was grayed out in the "File" menu.

Can't create C ++ template projects in VS 2008?

+3
source share
2 answers

yes it is: those that you already see when creating a new project are in $ VsInstallDir) / vcprojects. To create it yourself, you basically create a .vsz and a.vsdir file in which you describe your project template, a bunch of script / html files for your own wizard and the template files themselves (.vcproj, additional content, etc. ) It is not very simple, but it is possible and very convenient to do. A full explanation on MSDN is too much to dwell on here.

The same goes for project elements / classwizards, all of which can be customized.

+4
source

Full information about the process can be found in this link http://msdn.microsoft.com/en-IN/library/96xz4cw2(v=vs.90).aspx

0
source

Source: https://habr.com/ru/post/1722578/


All Articles