0

Is the SharePoint 2010 SDK limited to 64 bit OS? I'm getting an error attempting to install it on my 32 bit Windows OS, unfortunately it's not a very informative one "The installation of this package failed.".

I want to use the SharePoint 2010 client object model to do some document library operations. I realise I can use the web services directly but the client object model looks a bit nicer as it avoids the need to mess around with XML element names and attributes.

1 Answer 1

0

The answer is no the SDK is not limited to 64 bit OS's. I have now succcessfully installed it on my Windows 7 32 bit machine. My problem was a corrupted download.

Update: Even though the SDK installed it was a bit pointless given that it didn't contain the libraries necessary to build a SharePoint client app. However looking at the sample code in the SDK was useful and I then copied the required libraries from my SharePoint server to my client and was able to reference, build and use them. The Client object model looks like a bit of an oddity to use but even though I've only been working with SharePoint for two days I'm not suprised, still I think it will be better than manually extracting data from XML elements.

ClientContext context = new ClientContext("http://wdev2008:22880");
context.Load(context.Web);
List sharedDocsList = context.Web.Lists.GetByTitle("Shared Documents");
context.Load(sharedDocsList);
context.ExecuteQuery();
Console.WriteLine(sharedDocsList.Description);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.