- 现象
- 原因:
未找到manifest文件(There seems to be a time stamping bug that causes the debug build to mess up the manifest. )
- 解决办法:
1.Project->properties->Configuration Properties->Manifest Tool->Use FAT32 Work-around->YES
2.Project->properties->Configuration Properties->Input and OutPut->Embed Manifest->No
- 补充:
Your console application does not have manifest. Either embedded inside or external. To check this, do the following:
1. Check for <appname>.exe. manifest next to exe. If it is not there, it may be embedded. Go to step 2.
2. Open appname.exe in VS. See if it has RT_MANIFEST. Save it as a file and see if it has this line in it:
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50215.4652" processorArchitecture="amd64" publicKeyToken="1fc8b3b
If no RT_MANIFEST resource is present in the binary, go to step 3. If it is there, then go to step 4.
3. You are building with /manifest: no. Don't do this, it is not supported scenario. Remove this linker switch and it all should work.
4. msvcr80d.dll is not on the system. We need to know what version of VS is installed, what OS, what parts of VC++ have you selected during installations. Go ahead and file a bug on this on lab.msdn.microsoft.com.
Hope this helps,
Nikola
VC++ Team
参考:
http://www.cnblogs.com/killmyday/articles/1394596.html
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/6d16ecce-f92b-4c53-a45b-40119c4566a6/