Question: how to add sharepoint dll in visual studio 2015?
Answer: Go to the Application tab and set the Target framework to 3.5. Go to the Build tab and set the Platform to x64. Go to your project in the Solution Explorer and select Add Reference. Browse to the ISAPI folder in the SharePoint root to add the SharePoint DLL.