TL;DR; Guide to setting up Visual Studio 2008 and required tools for developing and testing SharePoint solutions locally without a full SharePoint server installation.

If you are wanting to developer solutions for SharePoint in Visual Studio 2008 then you need a couple of things to get started:
Although this is convoluted it does work…
If you are developing for either of my MOSS Codeplex Projects ( MOSS Time Off Management or MOSS Designer Workflow Activities ) then you will need this up and running if you do not want to have to install everything on a SharePoint server…
UPDATE: If you can get this to work, you must be a SharePoint developer guru
Technorati Tags: .NET MOSS Personal SP 2007 WF VS 2008 SP 2010 SharePoint
If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.
We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.

Genus Breeding Ltd

Teleplan

Brandes Investment Partners L.P.

Milliman

SuperControl

Graham & Brown

YearUp.org

Epic Games

ALS Life Sciences

Bistech

Kongsberg Maritime

Higher Education Statistics Agency

Qualco

Freadom

Cognizant Microsoft Business Group (MBG)

Flowmaster (a Mentor Graphics Company)

Emerson Process Management
CR2

Royal Air Force

New Hampshire Supreme Court

Nottingham County Council

Ghana Police Service

Department of Work and Pensions (UK)

Washington Department of Enterprise Services

Higher Education Statistics Agency

Bistech

Lean SA

Workday
CR2

Slicedbread