2011-04-06 66 views
2

我刚刚升级到MonoTouch 4.0,并且当链接程序行为设置为“仅链接SDK assmeblies”时出现此错误。任何人都得到了解决这个问题?MonoTouch 4.0链接程序失败

Error 1: mtouch failed with the following message: 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object 
at MTouch.LinkAssemblies (System.String main, System.Collections.Generic.List`1& assemblies) [0x00000] in <filename unknown>:0 
at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 (1) 
+0

请在http://monotouch.net/Support – 2011-04-06 23:56:56

+0

上提供样例错误感谢您提供Geoff的服务。见下面的答案。你介意评论为什么这能解决这个问题吗? – 2011-04-07 06:12:00

+0

它可能是引用了一个在BCL中移动的类型,如果你可以提交它,我们可以找出原因并修复它:) – 2011-04-07 16:10:27

回答

1

找出问题所在。我正在使用第三方obj-c lib的绑定,并且出于某种原因,从MonoTouch 4.0无法使用的情况下返回时从运行btouch输出的.dll。我必须再次运行btouch才能获得新的绑定.dll。现在就像魅力一样。