Xamarin Studio iOS assembly error

江枫思渺然 提交于 2019-12-11 08:27:45

问题


After I updated my Xamarin Studio (iOS) it gives me this error when trying to build/debug.

I ain't got no clue how to fix this, would appreciate some help

Error:

The type 'MonoTouch.UIKit.UIView' is defined in an assembly that is not referenced. 
Consider adding a reference to assembly 'monotouch, Version=0.0.0.0, 
Culture=neutral, PublicKeyToken=null'

I am using "AlexTouch.MBProgressHUD.dll" and I have added it to my usings.


回答1:


The public key token of monotouch.dll changed in Xamarin.iOS 6.2 (it's not null anymore).

You'll need to recompile bindings (or assemblies) that refers to monotouch.dll or use the tool (from this thread) to update them.



来源:https://stackoverflow.com/questions/16506328/xamarin-studio-ios-assembly-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!