Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Project/Item Templates

I have Visual Studio 2010 and recently both at home and at work have had an issue with missing projects in the Installed Templates. All that projects and the folder called 'Data' is missing So now SQLDatabase, DataSet, AdoNet Entity Data Model, LinqToSQL, XMLFile, etc...

Fixes tried so far:

  1. uninstall some recent framework addon or related products and it comes back.
  2. The most common fix is to do 'devenv /installvstemplates' command which has not worked for me.
  3. check for zip file in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Data\1033 folder and is contains all the appropriate zip files. Also the same for ItemTemplates folder.
  4. Reinstall - Tried this 3 times no luck even went as far as to remove all reg keys and every folder that had anything to do with VS2010.
  5. All complete reset of all VS2010 settings and other related commands.

I'm at a lose at what to do next. Beside a complete OS re-install which seems a little drastic. Anyone have a better solution please?

like image 907
Neurath Avatar asked Jan 24 '11 10:01

Neurath


People also ask

How do I find project templates?

To directly identify the project template used from an existing project in a solution is a little difficult, sometimes. One way is to match and check the <ProjectTypeGuids> tag in . xxproj file(right-click the project > Unload Project > right-click the project again > Edit XXX.

Where are project templates stored?

By default, user templates are located in: %USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates.

Where are the templates in Visual Studio?

Visual Studio templates Item templates, such as code files, XML files, HTML pages, and Style Sheets, appear in the Add New Item window. These templates provide a starting point for users to begin creating projects, or to expand existing projects.


1 Answers

Run devenv.exe /installvstemplates with elevated privileges

like image 86
abatishchev Avatar answered Nov 04 '22 23:11

abatishchev