title: Could not load a file or assembly SMDiagnostics.dll
body: <p>I´m trying to build my c# .NET solution containing 18 projects. Out of the blue I´m receiving an odd error message for one of my projects (the web gui).</p>
  
  <p>Error as follows</p>
  
  <pre><code>"Error 1839 'Could not load file or assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.'"
  </code></pre>
  
  <p>All but one of the projects are running on .net framework 3.5 but I have framework 4.0 installed on my machine.
  Visual studio is trying to load the file from 4.0 but not 3.5 (I´ve tried to move the file to 3.5, but that did not work)</p>
  
  <p>Does anyone know what´s wrong here or have any idea what I can do to fix this ?</p>
  
  <p>regards
  Throstur</p>