Jeremy Britton
Jeremy Britton

Reputation: 29

Visual Studio 2015 - Add New Item: "No items available for Templates"

The ADO.NET Model Templates are missing in my version of VS2015. I have tried installing the SQL Server data tools and re-installing the EF Tools as per suggestions found elsewhere but neither have helped. Does anyone have a solution for this issue?

Many thanks

Upvotes: 0

Views: 5529

Answers (2)

Ted
Ted

Reputation: 2585

I was getting the No items found message when attempting to simply add a new class to my project, and managed to fix it using the steps provided by this blog post by Kevin Wilson

  1. Close Visual Studio
  2. Remove (and backup) the following directories from your Visual Studio installation.

VisualStudioInstallDir\Common7\IDE\ItemTemplatesCache VisualStudioInstallDir\Common7\IDE\ProjectTemplatesCache

  1. Run command prompt as administrator, and navigate to the Visual Studio directory, e.g.

cd C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7IDE

  1. Run the following command to regenerate the item and project template caches

devenv.exe /InstallVSTemplates

  1. Restart Visual Studio, and if everything's worked, your class & project templates should all be working normally again.

Upvotes: 0

DevT
DevT

Reputation: 1511

I fixed the same problem in the following way

got to the Control Panel -> Programs and Features -> Right click on Visual Studio 2015 -> Modify -> (tick the feature "Microsoft SQL Server Data Tools" ) and Update

give it a try

Upvotes: 1

Related Questions