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.

SuperControl

Ericson

Sage

Flowmaster (a Mentor Graphics Company)

Microsoft

Kongsberg Maritime

Slicedbread

MacDonald Humfrey (Automation) Ltd.

ALS Life Sciences

Big Data for Humans

Capita Secure Information Solutions Ltd

Emerson Process Management

Akaditi
Boxit Document Solutions

Jack Links

Higher Education Statistics Agency

Cognizant Microsoft Business Group (MBG)
NIT A/S

New Hampshire Supreme Court

Washington Department of Enterprise Services

Department of Work and Pensions (UK)

Ghana Police Service

Washington Department of Transport

Royal Air Force

YearUp.org

Microsoft
Boxit Document Solutions

Genus Breeding Ltd

Teleplan

SuperControl