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: Continue reading Using SharePoint Server Object Model In Windows Application