title: Visual studio redistributable & side-by-side / DependentAssembly error
body: <p>(I'm running Windows7 and using Visual Studio 2010.)</p>
  
  <p>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.</p>
  
  <p>In Visual Studio 2010 I am getting the error:</p>
  
  <blockquote>
    <p>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</p>
  </blockquote>
  
  <p>And in Event Viewer I get:</p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>
  
  <p>When I searched for "8.0.50727.6195" it led me to the 2005 redist, so I downloaded it
  <a href="http://www.microsoft.com/download/en/details.aspx?id=3387" rel="nofollow">http://www.microsoft.com/download/en/details.aspx?id=3387</a></p>
  
  <p>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.</p>
  
  <p>What's the deal?  How can this be fixed?  I'm ready to pull out my hair.</p>