sweed0 发表于 2013-3-8 09:27

报错:Could not load type 'System.Security.SecurityCriticalScope' from assembly

具体的报错信息如下:
-------------------------------------
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.TypeLoadException: Could not load type 'System.Security.SecurityCriticalScope' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)

at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) in <filename unknown>:0

at System.Reflection.Assembly.GetType (System.String name) in <filename unknown>:0

at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly, System.String name) in <filename unknown>:0

at Mono.CSharp.RootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) in <filename unknown>:0

at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) in <filename unknown>:0

at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) in <filename unknown>:0

at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) in <filename unknown>:0

at Mono.CSharp.TypeManager.CoreLookupType (Mono.CSharp.CompilerContext ctx, System.String ns_name, System.String name, Kind type_kind, Boolean required) in <filename unknown>:0

at Mono.CSharp.TypeManager.InitCoreTypes (Mono.CSharp.CompilerContext ctx) in <filename unknown>:0

at Mono.CSharp.Driver.Compile () in <filename unknown>:0

at Mono.CSharp.Driver.Main (System.String[] args) in <filename unknown>:0
-------------------------------------

dingjie23 发表于 2017-4-20 10:34

很不错

逝水 发表于 2017-4-20 10:49

好帖就是要顶

dingjie23 发表于 2017-4-20 10:29

说的非常好

阡陌道人 发表于 2017-4-20 11:14

很好哦

liuyzUnity3D 发表于 2017-4-20 11:06

不错不错

jeffrey102 发表于 2017-6-1 10:13

很不错

王建平 发表于 2017-6-1 10:57

真心顶

wzaqqq 发表于 2017-6-1 10:28

说的非常好

kero990 发表于 2017-6-1 10:42

很好哦
页: [1] 2 3 4 5 6 7
查看完整版本: 报错:Could not load type 'System.Security.SecurityCriticalScope' from assembly