Did you just update to the Xamarin 2.0 stuff? ie Xamarin Studio 4,
Xamarin.iOS 6.2 etc?

If so, ALL the monotouch.dll etc are now signed, so you will need to
rereference them, and if you have any DLLs build against the old ones,
including any bindings, you need to rebuild them

more info here:
http://forums.xamarin.com/discussion/1475/changes-to-assembly-strongnames-in-xamarin-ios-6-2-0

On 8 March 2013 17:39, Guido Van Hoecke <[email protected]> wrote:
> Hi,
>
> I have a problem since Today's updates (Mono Framework MDK 2.10.11).
>
> I usually do my code editing and compiling in a VirtualBox
> VS2010. Since the latest updates, VS2010 complains:
>
> Error 1 The type 'MonoTouch.UIKit.UIViewController' is defined in an
> assembly that is not referenced. You must add a reference to assembly
> 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. ...
>
> Error 2 The type 'MonoTouch.Foundation.NSObject' is defined in an
> assembly that is not referenced. You must add a reference to assembly
> 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. ...
>
> Error 3 The type 'MonoTouch.UIKit.UITableViewController' is defined in
> an assembly that is not referenced. You must add a reference to assembly
> 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. ...
>
> Let me explain shortly how I have been working for over a year.  I have
> a ~/Mono directory with my solutions. I also have a 'Shared Folder' ~/MS
> directory with 'shadow' solutions. I create them as Library projects and
> use a self-made perl script to keep the directory structure and sources
> in sync.  The VS2010 references
> /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll and used to be happy
> in with this setup.
>
> Since today's updates, this no longer works. The VS2010 editor does not
> colorize references as if they would be undefined. So apparently it
> finds and grasps the dll, but refuses to compile.
>
>
> Any ideas what causes this and how to fix it?
>
>
> TIA,
>
>
> Guido
>
> --
> No-one would remember the Good Samaritan if he had only had good
> intentions.  He had money as well.
>                 -- Margaret Thatcher
>
> http://vanhoecke.org ... and go2 places!
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



--
Nic Wise
t.  +44 7788 592 806 | @fastchicken
b. http://www.fastchicken.co.nz/
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to