Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install a Visual Studio project template in a non-user-specific location?

When I install my .zip visual studio project template into %USERPROFILE%\Documents\Visual Studio 2012\Templates\ProjectTemplates it works, but this is a user-specific directory.

Is there any way to install such a project for every user in the machine? Something like a C:\Program Files\ location I mean. I've tried several "template" directories in the VS path inside Program Files but none of them worked.

How to install locally a .zip project template for Visual Studio?

like image 775
Marco A. Avatar asked Sep 22 '13 10:09

Marco A.


1 Answers

From How to: Locate and Organize Project and Item Templates:

By default, Visual Studio searches two locations for project and item templates.

Installed Templates: By default, templates installed together with the product are located in: \<VisualStudioInstallationDirectory>\Common7\IDE\ProjectTemplates\<Language>\<Locale>\

Custom Templates: By default, custom templates are located in: \My Documents\Visual Studio <Version>\Templates\ProjectTemplates\<Language>\

like image 94
IInspectable Avatar answered Oct 20 '22 21:10

IInspectable