VS2008 compilation error fatal error C1902: The program database manager does not match; please check the installation solution

Install VS2008 today, write a small program, and report the following error:

"Error: VS2008 compilation error fatal error C1902 : program database manager does not match; please check the installation to solve"

I suspect that the vs2010 installed in the system has a conflict, and I found the reason by searching online:

     Reason: This is the reason why the green version is not perfect, cl requires mspdb80.dll but other projects require .pdb; mspdbsrv.exe or mspdbcore.dll is missing or its version is different from that of mspdb80.dll

      Solution: Originally, if it is cl or dumpbin, mspdb80.dll needs to be deleted from bin, but in order to be compatible with green compilation, more files will come. Copy mspdbsrv.exe mspdb80.dll mspdbcore.dll from C:\Program Files \Microsoft Visual Studio 9.0\Common7\IDE to C:\Program Files\Microsoft Visual Studio 9.0\VC\bin and restart VS.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325562072&siteId=291194637