tin*_*son 6 .net c# .net-4.0 visual-studio-2010 .net-3.5
我正在尝试构建包含18个项目的c#.NET解决方案.出乎意料的是,我的一个项目(网络gui)收到了一条奇怪的错误消息.
错误如下
"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.'"
Run Code Online (Sandbox Code Playgroud)
除了其中一个项目之外,所有项目都在.net framework 3.5上运行,但我的机器上安装了框架4.0.Visual Studio试图从4.0但不是3.5加载文件(我试图将文件移动到3.5,但这不起作用)
有谁知道这里有什么问题,或者知道我能做些什么来解决这个问题?
关于Throstur