Skip to content

PluginLoader with WampHost #115

@mikos7

Description

@mikos7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions