/InstallVSTemplates (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

Registers project or item templates that are located in <Visual Studio installation path>\Common7\IDE\ProjectTemplates\ or <Visual Studio installation path>\Common7\IDE\ItemTemplates\ so that they can be accessed through the New Project and Add New Item dialog boxes.

Warning

This switch is supported only for Visual Studio partner development, and is not available in Express editions. You must run devenv as an administrator in order to use the /Setup (devenv.exe) and /InstallVSTemplates (devenv.exe) switches. For more information, see User Permissions.

Syntax

devenv.exe /InstallVSTemplates  

Remarks

See Also

Devenv Command Line Switches