tags:

views:

4369

answers:

5

I just installed the SharePoint SDK on my machine, but I can't seem to find the location of Microsoft.Sharepoint.dll so I can add a reference to it.

It's not in the GAC or C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\ and a search comes up with nothing.

Any suggestions?

A: 

It might show up in the "add reference" dialog anyway - 99% of the time you don't reed to know the physical location. Look in the ".Net" list, which is sorted alphabetically.

I assume the SDK installer would assert this, but Sharepoint development also requires a server OS.

GalacticCowboy
The .NET list was the first place I looked as I would have assumed it was there.I'm developing User Controls that make use of the SmartPart to get loaded in SharePoint so I can develop on my local machine.I figured I would just add the test and copy it up, but I can't seem to find it anywhere.
Ryan Smith
+8  A: 

The dll is on the server where you installed SharePoint. You should not develop on a desktop machine, create a virtual machine with SharePointserver installed and work there. See: http://weblogs.asp.net/erobillard/archive/2007/02/23/build-a-sharepoint-development-machine.aspx

Nat
Yes exactly, this is the correct way to develop around SharePoint - on the server....
Michael L
+1  A: 

Just FYI, I found it on the server where SharePoint was installed at:

E:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI

Ryan Smith
Yep, and for SP2010, it's now here: `C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI`
James McCormack
A: 

I also found this article on how to install WSS on Vista:

http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx

I'm personally going the virtual machine route, but if anyone succeeds on the Vista install, let us know how it went.

sestocker
A: 

Yes i had sucessfully installed sharepoint in vista ultimate edition