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

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

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

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

+6
source share
1 answer

From How to find and organize project templates and elements :

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

Installed patterns . By default, the templates installed with the product are located at \<VisualStudioInstallationDirectory>\Common7\IDE\ProjectTemplates\<Language>\<Locale>\

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

+10
source

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


All Articles