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?