If you get this error, your roaming profile records an incorrect directory for the Microsoft Visual C++ installation on the PC. Consequently, Microsoft Visual C++ cannot locate the compiler executable. The problem occurs because Microsoft Visual C++ is not yet installed in a uniform directory across PCs. This inconsistency is being resolved actively, but slowly. In the mean time, here's a fix:
Exit Microsoft Visual C++.
Select Start -> Run... and enter regedit. This starts the registry editor.
Carefully navigate down this path:
H_KEY_CURRENT_USER
Software
Microsoft
DevStudio
6.0
BuildSystem
Componenets
Platforms
Win32 (x86)
Directories
Carefully right-click on the Directories key and choose Delete.
Exit from the registry editor.
这个问题通常在把VC先装在一个文件夹后又改装到另一个新的文件夹的地方后出现