The invoked member is not supported in a dynamic assembly.

262 views
Skip to first unread message

Michael Shimmins

unread,
Jul 25, 2011, 6:33:48 AM7/25/11
to mono-...@googlegroups.com
I'm getting this error when trying to Initialize the AddinManager:
AddinManager.Initialize(catalogPath, pluginPath);
The exception:

The invoked member is not supported in a dynamic assembly.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
Is thrown, with this stack trace:
[NotSupportedException: The invoked member is not supported in a dynamic assembly.]
   System.Reflection.Emit.InternalAssemblyBuilder.get_CodeBase() +56
   Mono.Addins.AddinEngine.CheckHostAssembly(Assembly asm) +85
   Mono.Addins.AddinEngine.ActivateRoots() +44
   Mono.Addins.AddinEngine.Initialize(Assembly startupAsm, String configDir, String addinsDir, String databaseDir) +320
   Mono.Addins.AddinManager.Initialize(String configDir, String addinsDir) +49
I was using Mono.Addings 0.6 from NuGet, but upgraded manually to the 0.6.1 release on CodePlex (which by the way has version 0.6.0 in the assembly info - not sure if it is actually 0.6.1 or not), but the error remains.
Any thoughts?

Lluis Sanchez Gual

unread,
Aug 5, 2011, 8:34:21 AM8/5/11
to mono-...@googlegroups.com
Hi,

This will be fixed in the upcoming 0.6.2 release.

Lluis.

--
You received this message because you are subscribed to the Google Groups "Mono.Addins" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mono-addins/-/WRUQz5_JTMIJ.
To post to this group, send email to mono-...@googlegroups.com.
To unsubscribe from this group, send email to mono-addins...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mono-addins?hl=en.

Reply all
Reply to author
Forward
0 new messages