Xamarin Exception - with new releases


With the new versions of ShinobiControl 2.6 and Xamarin Studio 4.2.3, Xamarin.IOS we get the following Exception.

MonoTouch.MonoTouchException: Cannot register two managed types (‘ShinobiEssentials.SEssentialsStyle, ShinobiEssentials, Version=, Culture=neutral, PublicKeyToken=null’ and ‘ShinobiGrids.SEssentialsStyle, ShinobiGrids, Version=, Culture=neutral, PublicKeyToken=null’) with the same native name (‘SEssentialsStyle’).

Sample code - Very simple use your SimpleGridSample add reference to ShinobiEssentials.dll and add this line to the ViewDidLoad

            SEssentialsSlidingOverlay slidingView = new SEssentialsSlidingOverlay (View.Frame, true);

Our project was working fine before upgrading!

Any solution?


Xamarin changed the default registrar behavior as from this version. You can temporary change the default behavior again in Xamarin by adding the -registrar:legacy to the mtouch arguments.

But Shinobi should fix theses issues asap for their controls (bindings). Maybe they can make the binding project public on github then the community can help them out in case of such issues.


To be correct:



Thanks - registrar:legacy fix the problem for now.


This is an issue we are aware of, and hoping to fix soon. We saw it come through on the alpha channel, but it moved into stable much faster than we’d anticipated!