Search code examples
c#iosreferencexamarin.ios.net-assembly

Xamarin Studio iOS assembly error


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.


Solution

  • 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.