Using SharePoint Server Object Model In Windows Application

I am working with Visual Studio 2010, and when I tried to add Microsoft.SharePoint.dll to a Windows Application then build the solution.

I found out a strange behavior where Microsoft.SharePoint.dll  was removed from the reference list automatically.

In this article, I elaborates How to use SharePoint Object Model in Windows Application by following the mentioned steps below:

  • Go to solution > Right click > Properties.


  •  Select  Application Tab >  Target frameworks.


  • Change Target Framework from .Net Framework 4 client profile to .Net framework 3.5.


  •  Go back to Build Tab > Platform Target.


  •  Change Platform Target from 86x to 64x.


  • Try to add Microsoft.SharePoint.dll reference again that should be now worked properly.


8 thoughts on “Using SharePoint Server Object Model In Windows Application

  1. Do you have a spam problem on this site; I also am a blogger, and I was wanting to know your situation; many of us have developed some nice procedures and we
    are looking to trade strategies with others, why not shoot me an
    e-mail if interested.


  2. I was very happy to discover this great site.

    I want to to thank you for ones time for this wonderful read!
    ! I definitely really liked every little bit of it and i also have you bookmarked to
    look at new things in your web site.


  3. Great beat ! I wish to apprentice while you
    amend your web site, how could i subscribe for a blog site?
    The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear idea


  4. You could certainly see your skills within the article you write.
    The arena hopes for more passionate writers such as you who aren’t afraid to mention how they believe. Always go after your heart.


  5. You really make it appear really easy with your presentation but I in finding this topic to
    be really something that I believe I’d by no means understand. It kind of feels too complicated and extremely broad for me. I’m looking ahead to your subsequent put up,
    I will try to get the hold of it!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s