SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 0 down vote accepted

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);
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.