visual-studio-2010 - Visual Studio 可重新分发和并排/DependentAssembly 错误

标签 visual-studio-2010 sxs

(我正在运行 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/

相关文章:

c++ - 在 64 位 VC++ 2010 上用于 boost 的预编译 .libs

c# - 变量已分配但从未使用过

c++ - 具有多个 DLL 输出的项目

c# - C++ 和 C# 之间的并排依赖关系

c# - 由于依赖于其他 SXS-DLL 的 DLL,pinvoke 失败

windows - 每个应用程序配置文件 bindingRedirect 不适用于 Dll

.net - 构建时如何在 .NET 依赖链上要求 x86

mysql - 从VS2010使用webdeploy发布一个MySql数据库

java - Java中的Spawn过程,类似于双击

c# - 处理电子邮件时在 C# 中添加 HTML 属性