小编Ben*_*gan的帖子

MonoTouch 4.0使用模拟器抛出ReflectionTypeLoadException

自从将MonoTouch 3.x应用程序更新到MonoTouch 4.0后,我在尝试在模拟器上启动调试或发布版本时遇到以下错误:

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 
  at MonoTouch.ObjCRuntime.Runtime.RegisterAssembly (System.Reflection.Assembly a) [0x00000] in <filename unknown>:0 
Run Code Online (Sandbox Code Playgroud)

问题似乎与System.Xml.Linq有关,但是我检查了所有项目和引用,这甚至看起来都不是我能说的传递参考.我似乎没有在任何地方使用它.

异常消息始终"无法从System.Xml.Linq加载System.Xml.Linq.XNodeNavigator".

有人有主意吗?

c# mono xamarin.ios ios ios-simulator

7
推荐指数
1
解决办法
2540
查看次数

标签 统计

c# ×1

ios ×1

ios-simulator ×1

mono ×1

xamarin.ios ×1