I just setup my dev box for developing Sharepoint Webparts (after having to rebuild my box due to a hard disk crash) and documented the steps that I went through. The machine that I do development on does not have Sharepoint installed.
- I copied the DLL files from the Sharepoint Server from Program files\Common Files\Microsoft Shared\web server extensions\60\ISAPI to a folder in my dev box. The files copied: (Though I assume, the only needed assembly is Microsoft.Sharepoint.dll)
- I then set the PATH environment variable to the folder containing the dll's.
- Downloaded and installed the Sharepoint Webparts Template from http://www.microsoft.com/downloads/details.aspx?FamilyId=CAC3E0D2-BEC1-494C-A74E-75936B88E3B5&displaylang=en