找回密码
 立即注册
查看: 4962|回复: 60

[脚本] 报错:Could not load type 'System.Security.SecurityCriticalScope' from assembly

[复制链接]
发表于 2013-3-8 09:27 | 显示全部楼层 |阅读模式
具体的报错信息如下:
-------------------------------------
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) [0x00000] in <filename unknown>:0

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

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

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

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

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

  at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] 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) [0x00000] in <filename unknown>:0

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

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

  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
-------------------------------------
发表于 2017-4-20 10:34 | 显示全部楼层
很不错
发表于 2017-4-20 10:49 | 显示全部楼层
好帖就是要顶
发表于 2017-4-20 10:29 | 显示全部楼层
说的非常好
发表于 2017-4-20 11:14 | 显示全部楼层
很好哦
发表于 2017-4-20 11:06 | 显示全部楼层
不错不错
发表于 2017-6-1 10:13 | 显示全部楼层
很不错
发表于 2017-6-1 10:57 | 显示全部楼层
真心顶
发表于 2017-6-1 10:28 | 显示全部楼层
说的非常好
发表于 2017-6-1 10:42 | 显示全部楼层
很好哦
懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )

GMT+8, 2024-11-23 04:54 , Processed in 0.104398 second(s), 27 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表