How to add the Sharepoint Services Namespace Reference to a .NET application

I wrote my first SPS2003 .NET app today.  This WebDAV Dog is learning new Sharepoint tricks, but step one is figuring out how in the heck to reference the Sharepoint Libraries in a VS.NET application.

First of all, this ain't mine.  I found this newsgroup post of Jim McCusker titled Creating a Web Part - Step-by-step.  Jim, whatever cool Sharepoint coding you're doing tonight, thanks, buddy!  Here is Jim's post.  Below is an excerpt on referencing the Sharepoint Services Libraries in VS.NET.

...2) Right click on the References folder in the Solution Explorer window and select Add Reference

...5) Browse to the file called Microsoft.SharePoint.dll which is typically located under the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI\ folder.  [ex.
\\cdpofb2\c$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI\Microsoft.SharePoint.dll]

The rest is in the Sharepoint SDK...

 

 

20 Comments

  • How to add the Sharepoint Services Namespace Reference to a .NET application when Wss 3.0 install on remote machine?

  • If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

  • 2SPvJp I do`t see a feedback or the other coordinates from the blog administration!....

  • nSkEEF Strange but true. Your resource is expensive. At least it could be sold for good money on its auction!....

  • Please add more good information that would help others in such good way.

  • It's a pity you don't have a donate button! I'd certainly donate to this excellent blog! I suppose for now i'll settle for book-marking and adding your RSS feed to my Google account. I look forward to new updates and will talk about this blog with my Facebook group. Talk soon!

  • VjEKFa I think this is a real great article.

  • Not able to locate the file "Microsoft.SharePoint.dll" under the above mentioned location.

  • I've been browsing online more than 3 hours today, but I by no means discovered any fascinating article like yours. It is beautiful value enough for me. In my view, if all webmasters and bloggers made excellent content material as you did, the internet can be much more useful than ever before.

  • What's up, all is going sound here and ofcourse every one is sharing information, that's
    actually good, keep up writing.

  • You should plan on blogging once a month, but preferably once a week.
    Place your navigational links (and Java - Script)
    at the right or at the bottom, but not on the left,
    of the page. Not only that, but when visitors search for your keyword, it will
    show up in bold in the search results, drawing more
    attention to your listing.

  • Your personal message emailed to 500,000 UNIQUE Prospects.
    All interested in your service or product. These are not regular emails.
    List members joined it by double-optin. Most people find the list high response.

    A one time personal-emailing to 500,000 UNIQUE Prospects is just *$9.
    95. Use PROMO CODE 227 For A Boost to 1,500,000 Unique Prospects.
    Plus, A Lifetime Silver Submitter Access and a Lifetime Global-Marketing Membership!

  • Heya i'm for the first time here. I came across this board and I find It really useful & it helped me out much. I hope to give something back and help others like you helped me.

  • I was able to find good information from your blog articles.

  • Linkwheel creation is one of the most effective ways to get traffic to the website.
    You can not consider cost consideration if you need the quality in promotion tasks.
    Even an act as seemingly insignificant as putting up a jar of honey with some rosemary in it for later medicinal
    or culinary use is an important link to the Earthy part of us.

  • Hello, Neat post. There's a problem together with your web site in internet explorer, may test this? IE still is the marketplace chief and a good portion of other folks will miss your magnificent writing because of this problem.

  • I always emailed this web site post page to all my friends, for the reason that if like to read it after that my contacts will too.

  • What's Going down i'm new to this, I stumbled upon this I have found It positively useful
    and it has helped me out loads. I am hoping to give a contribution & help
    different customers like its helped me. Great job.

  • I don't even know how I ended up here, but I thought this post was good. I do not know who you are but certainly you are going to a famous blogger if you aren't already ;) Cheers!

  • Outstanding post however , I was wondering if you
    could write a litte more on this topic? I'd be very grateful if you could elaborate a little bit more. Appreciate it!

Comments have been disabled for this content.