当我试图运行Visual 2013 Web应用程序时,会收到以下异常消息:
"Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute我不明白为什么在我的程序集中有对System.Runtime.CompilerServices.ExtensionAttribute的引用,我也不知道该怎么做才能让它停止。建议?
required member System.Runtime.CompilerServices.ExtensionAttribute..ctorThe predefined type 'System.Runtime.CompilerServices.ExtensionAttributedefined in multiple assemblies in the global alias; using definition from 'c:\TEMP\IKVM.Runtime.dll'
我发现"System.R
当我第一次启动我的网站时,我得到了这个错误[TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute'WebActivator.ActivationManager threw an exception with
使用C:\Windows\Microsoft.NET\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll浏览显示,'System.Runtime.CompilerServices.ExtensionAttributemscorlib.dll”:
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Could not load type 'System.Runtime.
然后,当我在4.0机器上运行这个mcorlib4.5程序时,它失败了,并显示“'System.Runtime.CompilerServices.ExtensionAttribute‘:ran not loadConsole.WriteLine(typeof(System.Runtime.CompilerServices.ExtensionAttribute).Assembly.FullName);
我想知道有没有办法解决这个问题