I am facing the same problem and I solved in a different way even though marcing512 solution is pretty nite.
It turns out that when a .pdb is loaded, devenv or Visual DDK library looks for a class of msdia80 or msdia90 and if you haven’t installed Visual Studio 2005 or Visual 2008 doesn’t find it because the library is not registered, so it works simply by copying and registering de library:
-= PepeElevado@JPALAU-DESKTOP2 –> C:Windowssystem32 =- $ copy “\jpalau-laptopc$Program FilesMicrosoft Visual Studio 9.0Common7PackagesDebuggermsdia90.dll”
1 file(s) copied.
-= PepeElevado@JPALAU-DESKTOP2 –> C:Windowssystem32 =- $ regsvr32 msdia90.dll
Process Monitor helped me to find the registry CLSIDs of the classes.
I haven’t used this library and I don’t know why it is searched, I think Visual Studio 2010 comes with msdia100.dll