Hello
I want to make a simple process plugin. I made a dll with this 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
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() {
}
}
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