Visual studio redistributable & side-by-side / DependentAssembly error

sxsvisual studio 2010

(I'm running Windows7 and using Visual Studio 2010.)

I'm using ClamAV in a .NET Azure project, and I'm running into side-by-side errors whenever I run clamd.exe, either through my code or by running clamd.exe on it's own.

In Visual Studio 2010 I am getting the error:

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

And in Event Viewer I get:

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.

When I searched for "8.0.50727.6195" it led me to the 2005 redist, so I downloaded it
http://www.microsoft.com/download/en/details.aspx?id=3387

After a restart I am still getting the side-by-side error. Additionally, I think that the redist installer is not completing it's install– like it's seeing visual studio 2010 and saying "oh, that's good enough, no need for me to install". I haven't tried uninstalling 2010 and using 2005, because the rest of my Dev team is using VS 2010.

What's the deal? How can this be fixed? I'm ready to pull out my hair.

Best Answer

The link Timores posted is the update for Visual Studio. The actual redistributable package is this:

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