Normal
HelloI want to make a simple process plugin. I made a dll with this code:[CODE]namespace MyPlugin { public class MyPlugin : IPlugin {public void Start() { } public void Stop() { }}[/CODE]I copied the dll to the process folder. When I start MediaPortal, i have man errors like:2008-09-22 15:56:14.002365 [ERROR][MPMain]: Exception while loading IPlugin instances: MyPlugin.MyPlugin2008-09-22 15:56:14.003341 [ERROR][MPMain]: System.InvalidCastException: Unable to cast object of type 'MyPlugin.MyPlugin' to type 'MediaPortal.GUI.Library.IPlugin'.All other plugins also failed.What is wrong?Thank youwima
Hello
I want to make a simple process plugin. I made a dll with this code:[CODE]namespace MyPlugin {
public class MyPlugin : IPlugin {
public void Start() {
}
public void Stop() {
[/CODE]
I copied the dll to the process folder. When I start MediaPortal, i have man errors like:
2008-09-22 15:56:14.002365 [ERROR][MPMain]: Exception while loading IPlugin instances: MyPlugin.MyPlugin
2008-09-22 15:56:14.003341 [ERROR][MPMain]: System.InvalidCastException: Unable to cast object of type 'MyPlugin.MyPlugin' to type 'MediaPortal.GUI.Library.IPlugin'.
All other plugins also failed.
What is wrong?
Thank you
wima