I'm using VS 2010 on Windows XP. I did download microsoft.sharepoint.client.dll & microsoft.sharepoint.client.Runtime.dll from Microsoft Client Object model on my computer.
I was able to find above dll's in C:\Program Files\Common Files\Microsoft Shared\SharePoint Client, Not at below location. C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\ISAPI -- as pointed on some other articles and stackoverflow question.
Task: SSIS & SharePoint Integration and download files from SharePoint site (SP 2010).
Here is the problem. I'm trying to use namespace SPSite and SPWebsite but VS 2010 doesn't recognize. I have add above mentioned dlls as reference and my target framework 4.0.
using (SPSite site = new SPSite(siteUrl)) --Error: The type or namespace SpSite couldn't be found (are you missing using directive or assembly reference).
Looks like i need to install something on Sharepoint Server as Server Object Model. 1. Could you tell me what i need to install on Sharepoint Server. 2. After #1, what do i need to do in C# program so that i can access those Server side object.
Please advice steps in details as i'm a newbie to .Net.
Thanks!!