-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
Description
This issue might not be a WampSharp issue and if so, I apologies for polluting this forum (but I ask here since it relates to WampSharp and I guess @darkl is greatly qualified to answer).
The plugin loader class I have built implements an interface with WampProcedure methods and has a private WampHost. It works great when invoked during application startup. But when invoking it from a WampProcedure I get the exception below. The exception is thrown when accessing the newly created plugin AppDomain in the AddPlugin method (WampProcedure: "ActivatePlugin").
Class file attached: PluginLoader.txt
What to do..?
Kind regards, Mikael
Exception:
System.Runtime.Serialization.SerializationException: Typen WampSharp.V2.WampInvocationContext i sammansättningen WampSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null är inte deklarerad som serialiserbar.
The text in Swedish tells that “PublicKeyToken” is not declared as serializable.