问题
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