Question: how to add microsoft.sharepoint.client.dll in visual studio?
Answer: Right-click the project in Solution Explorer, click Add Reference, and in the Add Reference dialog box, click the Browse tab and navigate to the folder where you copied Microsoft. SharePoint. Client. dll and Microsoft.