Debugging ITvServerPlugin (1 Viewer)

cwchapma

Portal Pro
October 15, 2006
56
34
48
Home Country
Canada Canada
I'm trying to debug the ServerBlaster plugin which has the following declaration:

Code:
public class ServerBlaster : ITvServerPlugin

but when it tries to load the plugin with:

Code:
newObj = (object)Activator.CreateInstance(t);
plugin = (ITvServerPlugin)newObj;

I get an InvalidCastException:

Code:
Unable to cast object of type 'TvEngine.ServerBlaster' to type 'TvEngine.ITvServerPlugin'.

Forgive my ignorance, but I don't see how that's possible.

Anybody have any ideas?

Thanks,
Clint
 

Users who are viewing this thread

Top Bottom