Compartilhar via


Template registration

If you are running with limited user privileges or with User Account Control (UAC) active, the templates installed for Visual Studio Tools may not be registered in Visual Studio. You may need to manually register the templates so they will appear as selections when you create new projects.

Use the following command for Visual Studio 2010 to re-create its template cache:

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /setup

Hint: If you are using a 64-bit version of Windows, the Visual Studio files will be located in the Program Files (x86) folder.

On systems that are running with UAC (User Account Control), you will need to set the properties of the devenv.exe application to be run with administrative privileges.