Visual Studio可再发行和并排/ DependentAssembly错误

Civ*_*ian 4 sxs visual-studio-2010

(我正在运行Windows7并使用Visual Studio 2010.)

我在.NET Azure项目中使用ClamAV,每当我运行clamd.exe时,无论是通过我的代码还是通过运行clamd.exe,我都会遇到并行错误.

在Visual Studio 2010中,我收到错误:

Win32Exception未处理应用程序无法启动,因为它的并行配置不正确.有关更多详细信息,请参阅应用程序事件日志或使用命令行sxstrace.exe工具

在事件查看器中,我得到:

"C:\ Users\pconerly\code\AntiVirus_source\WorkerRole\clamav\clamd.exe"的激活上下文生成失败.无法找到依赖程序集Microsoft.VC80.CRT,processorArchitecture ="x86",publicKeyToken ="1fc8b3b9a1e18e3b",type ="win32",version ="8.0.50727.6195".请使用sxstrace.exe进行详细诊断.

当我搜索"8.0.50727.6195"时,它引导我进入2005年的redist,所以我下载了它 http://www.microsoft.com/download/en/details.aspx?id=3387

重启后,我仍然遇到并排错误.另外,我认为redist安装程序没有完成它的安装 - 就像它看到Visual Studio 2010并说"哦,这已经足够好了,我不需要安装".我没有尝试卸载2010并使用2005,因为我的开发团队的其余成员正在使用VS 2010.

这是怎么回事?怎么解决这个问题?我已经准备好拔出头发了.

小智 7

Timores发布的链接是Visual Studio的更新.实际的可再发行组件包括:

http://www.microsoft.com/en-us/download/details.aspx?id=26347