I am trying to build my C # .NET solution containing 18 projects. At first glance, I get an odd error message for one of my projects (web gui).
The error is as follows
"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.'"
All but one of the projects are running on the .net framework 3.5, but I have the 4.0 framework installed on my machine. Visual Studio tries to download the file from 4.0 but not 3.5 (I tried to move the file to 3.5, but this did not work)
Does anyone know what is wrong here, or I have an idea, what can I do to fix this?
Regards Throstur
source
share