When trying to run my Rhino plugin out of Xamarin it suddenly does not start any longer with the following Exception:
System.NotSupportedException The invoked member is not supported in a dynamic module.
at System.Reflection.Emit.AssemblyBuilder.get_Location () [0x00000] in /Users/curtis/Projects/McNeel/mac5/src4/rhino4/MacOS/Mono64Framework/mono-4.0.2/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs:337 at Rhino.Runtime.AssemblyResolver.CurrentDomain_AssemblyResolve (System.Object sender, System.ResolveEventArgs args) [0x00272] in /Users/bozo/TeamCity/buildAgent/work/1390813b57292860/src4/DotNetSDK/rhinocommon/dotnet/resolver.cs:140
Starting Rhinoceros continues to work. Only when starting my specific plugin from Xamarin it does not.
The error seems unrelated to any code change as clean & rebuilding the project or checking out previous versions does not help.
I just had the following incident the second time. The first time it happened 2 days ago.
creating a new project in Xamarin and copying/linking all existing code and resources.
What does not help is:
- Restarting Xamarin, Rhino, or the operating system
- Updating Xamarin
- Clean and rebuild the project
Xamarin Studio Community Edition 6.1.5 (build 0)
Mac OSX 10.11.6