I am using Xamarin Studio to create an app that references other library projects. In one of the libraries I made a simple custom NSView. I then went to the main form in the cocoa app project and opened it with Xcode so that I could add the custom NSView. I added my custom NSView. Everything was working great. As soon as I tried making an outlet to my custom NSView I got a casting error when starting the app. The thing is, I created a custom sub class within my main app project and did the exact same thing and it works just fine. I did a few tests to make sure and it seems that you can't create an outlet of a custom class from a referenced library project.
So my question is: Is this a bug with Xamarin studio? Or am I missing something?
Thanks for your help!