I've added references to all the required docs api dll's, but I still get missing reference exceptions when I try to compile.
I changed the project's "Target Framework" from the VS2010 default, which is ".NET Framework 4 Client Profile", to ".Net Framework 4" and everything works fine now.