Recently in one of the server, I have installed visual studio 2010. Here also we have SharePoint 2010 already installed before we installed visual studio 2010.
But when we open visual studio and try to add new project, we are not able to see the SharePoint related templated in the visual studio.
You can try below solutions:
Close your Visual Studio 2010 if you have opened.
Then Open your visual studio 2010 command prompt (from the menu Start->All Programs-> Microsoft Visual Studio 2010->Visual Studio Tools and then click on Visual Studio Command Prompt (2010)) in administrator mode and then run the below command.
Now restart your visual studio and now you should be able to see the templates.
If it did not work, sometimes reinstall or repair works.
Also, read some SharePoint tutorial,
- Create SharePoint 2013 List using out of box or custom template using PowerShell
- Create a custom button in ribbon for list or document library using SharePoint 2013 designer
- Create an Approval Content for the SharePoint 2010 Custom List Items
Hope this will be helpful.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)