(我正在运行 Windows7 并使用 Visual Studio 2010。)
我在 .NET Azure 项目中使用 ClamAV,并且每当我通过我的代码或通过自己运行 clamd.exe 运行 clamd.exe 时,我都会遇到并行错误。
在 Visual Studio 2010 中,我收到错误消息:
Win32Exception was unhandled The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail
在事件查看器中,我得到:
Activation context generation failed for "C:\Users\pconerly\code\AntiVirus_source\WorkerRole\clamav\clamd.exe". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.
当我搜索“8.0.50727.6195”时,它把我带到了 2005 redist,所以我下载了它
http://www.microsoft.com/download/en/details.aspx?id=3387
重新启动后,我仍然收到并排错误。此外,我认为 redist 安装程序没有完成它的安装——就像它看到 Visual Studio 2010 并说“哦,这已经足够了,我不需要安装”。我没有尝试卸载 2010 并使用 2005,因为我的开发团队的其他成员正在使用 VS 2010。
这是怎么回事?如何解决这个问题?我准备拔头发。
最佳答案
你提到的版本实际上是在这里找到的
Microsoft Visual Studio 2005 Service Pack 1 MFC Security Update
关于visual-studio-2010 - Visual Studio 可重新分发和并排/DependentAssembly 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7183983/