我有一个VS 2008的全新安装,我确保在安装过程中检查“x64编译器和工具”。但是,当我进行exe的x64调试版本时,在尝试运行时会出现并排错误。事件查看器记录以下内容:
"Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis."
sxstrace显示以下内容:
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\Work\SPR5569_Tools_modification\Configutil\ProfilePush\debug\x64\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\Work\SPR5569_Tools_modification\Configutil\ProfilePush\debug\x64\Microsoft.VC90.DebugCRT.MANIFEST.
INFO: Attempt to probe manifest at D:\Work\SPR5569_Tools_modification\Configutil\ProfilePush\debug\x64\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\Work\SPR5569_Tools_modification\Configutil\ProfilePush\debug\x64\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
我的问题是:
1-“INFO:未在WinSxS中找到程序集。”为什么安装程序没有将程序集添加到WinSxS中?
2-该文件位于"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\Debug_NonRedist\amd64\Microsoft.VC90.DebugCRT"
位置。为什么安装程序会在这里安装时不在这里使用?
3-我设法通过从上面的位置获取文件并将其与可执行文件放在一起来使程序正常工作。但解决这种情况的正确方法是什么?
4-这是谁的问题?这是VS设置不正确吗?
感谢您的关注。