Hi,
On my project i have installed the latest versions of all packages and use a strongly type Hub declared in this way:
public class HubSync : Hub<ISendHubSync>
on ISendSync.cs i have declared the class that inherit from a base class in this way:
public interface ISendHubSync : ISendHubSyncBase
{
void AddMessage(string name, string message);
void SendHelloObject(HelloModel hello);
}
public interface ISendHubSyncBase
{
void Heartbeat();
}
If i compile and run all works fine until i try to invoke the AddMessage from that client.
When i do that i get a TypeLoadException.
If i move the definition of HeartBeat() from the base class to the inherited class all works fine in any case.
What has been wrong ??
Hi,
On my project i have installed the latest versions of all packages and use a strongly type Hub declared in this way:
on ISendSync.cs i have declared the class that inherit from a base class in this way:
If i compile and run all works fine until i try to invoke the AddMessage from that client.
When i do that i get a TypeLoadException.
If i move the definition of HeartBeat() from the base class to the inherited class all works fine in any case.
What has been wrong ??