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.
Enjoy:)
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.
LikeLike
Until now No 🙂
LikeLike
Hi! Would you mind if I share your blog with my twitter
group? There’s a lot of folks that I think would really appreciate your content. Please let me know. Many thanks
LikeLike
You are welcome 🙂
LikeLike
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.
LikeLike
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
LikeLike
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.
LikeLike
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!
LikeLike