Hi Mittchel,

You can't use reference any binary assembly in MonoTouch, you need to get
the source code rebuilt for MonoTouch. This is because the class libraries
change - an assembly built for .NET 4.0 may reference methods that don't
exist in MonoTouch, which will obviously not work.

Best regards,
Rolf

On Wed, Nov 30, 2011 at 10:03 AM, Mittchel debaass <[email protected]>wrote:

> Hello everyone,
>
> I'm trying to reference an DLL file, specifcally the DLL file from
> http://facebooksdk.codeplex.com/ which has an facebook client that works
> in .NET 4.0 on my Console Application.. Though while referencing I'm
> getting an error which says I have to look at my Build Output.. In my build
> Output I found this:
>
> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
>   at MTouch.ExtractNativeLinkInfo (System.String project_root,
> System.Collections.Generic.List`1 references) [0x00000] in <filename
> unknown>:0
>   at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0
> [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object
> reference not set to an instance of an object
>   at MTouch.ExtractNativeLinkInfo (System.String project_root,
> System.Collections.Generic.List`1 references) [0x00000] in <filename
> unknown>:0
>   at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0
> mtouch exited with code 1
>
> What's going wrong? :o
>
> Thanks in advance
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to