SOLVED: Plugin is incompatible with the current MediaPortal (1 Viewer)

fripsy

Portal Pro
December 11, 2008
122
63
Grasse
Home Country
France France
Hi Guys,

Got a weird problem... I think.

I'm working on the Skype4MP plugin and after a lot of changes I made on the source code today, I suddenly get this error:

Plugin maniac.MediaPortal.Skype.GUISkype is incompatible with the current MediaPortal version! (Skype4MP.dll)

Can someone tell me where this error could come from?
I searched the old source code for some version checking, but I can't find anything...
Where in my plugin should I mention the MP version the plugin is for?

This is what is in the logs:
2010-06-18 14:33:00.481839 [Info.][MPMain(1)]: Exception while loading GUIWindows instances: maniac.MediaPortal.Skype.GUISkype
2010-06-18 14:33:00.482839 [Info.][MPMain(1)]: Une exception a été levée par la cible d'un appel.
2010-06-18 14:33:00.546843 [Info.][MPMain(1)]: à System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
à System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
à System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
à System.Activator.CreateInstance(Type type, Boolean nonPublic)
à MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
2010-06-18 14:33:00.548843 [Info.][MPMain(1)]: Exception while loading ISetupForm instances: maniac.MediaPortal.Skype.GUISkype
2010-06-18 14:33:00.549843 [Info.][MPMain(1)]: Une exception a été levée par la cible d'un appel.
2010-06-18 14:33:00.550843 [Info.][MPMain(1)]: à System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
à System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
à System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
à System.Activator.CreateInstance(Type type, Boolean nonPublic)
à MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)

I hope someone can help me with this as I'm completely in dark on this one...

SOLUTION:

Apparantly, in my case, this error is generated if there is a difference between the optionlist in the setup form and the main form...

Note to myself:
ALWAYS double or better triple check if you delete something!

Thanks, sorry to have wasted your time,
Frank.
 

Users who are viewing this thread

Top Bottom