Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8524

[Bug Report] Plugin does not start, only creating new project (with same code) in Xamarin helps

$
0
0

@jups23 wrote:

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.

stack trace:

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.

Frequency

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.

Workaround

creating a new project in Xamarin and copying/linking all existing code and resources.

What does not help is:

  1. Restarting Xamarin, Rhino, or the operating system
  2. Updating Xamarin
  3. Clean and rebuild the project

My system

Xamarin Studio Community Edition 6.1.5 (build 0)
Rhinoceros 5.3.1
Mac OSX 10.11.6

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8524

Trending Articles