Visual Studio 2010 Make and Install Templates

In Visual Studio’s path you will find the default templates, these are a set of zip files that get expanded into the template cach.

They are stored in

  • Item Templates – %VSInstallDir%\Common7\IDE\ItemTemplates\
  • Project Templates – %VSInstallDir%\Common7\IDE\ProjectTemplates\

Extracting the {{.zip}} in question and recompressing with the modified contents will update the template. You can also copy these files to one of the respective template folders in %USERPROFILE%\Documents\Visual Studio 2010.

For information on building templates have a look at Visual Studio Templates on MSDN.

You then need to tell VS to rebuild the cache.

  1. Open a visual studio command line shell
  2. Execute devenv /installvstemplates

You can also use the “Export Template…” wizard from the file menu, however the exported template loses original content such as if statements.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)