Error after recompilation (1 Viewer)

Status
Not open for further replies.

WhyMe

Portal Member
July 26, 2008
718
12
Home Country
France France
Hello,
first, be cool with my english, i'm french ;)

I've juste compiled MovingPictures, modified the merge.bat to include the Cornerstone.dll and Cornerstone.MP.dll
When launching on fresh MP 1.1.0RC1 install, i've this error

Code:
2010-03-02 20:22:32.171875 [Info.][MPMain(1)]:   Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\MovingPictures.dll
2010-03-02 20:22:32.265625 [Info.][MPMain(1)]:   File Version : 1.1.0.1067
2010-03-02 20:22:32.343750 [Info.][MPMain(1)]: Exception while loading GUIWindows instances: MediaPortal.Plugins.MovingPictures.MainUI.MovingPicturesGUI
2010-03-02 20:22:32.343750 [Info.][MPMain(1)]: Une exception a été levée par la cible d'un appel.
2010-03-02 20:22:32.343750 [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-03-02 20:22:32.343750 [Info.][MPMain(1)]: Exception while loading ISetupForm instances: MediaPortal.Plugins.MovingPictures.MainUI.ConfigConnector
2010-03-02 20:22:32.343750 [Info.][MPMain(1)]: Une exception a été levée par la cible d'un appel.
2010-03-02 20:22:32.343750 [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-03-02 20:22:32.359375 [Info.][MPMain(1)]: Exception while loading GUIWindows instances: Cornerstone.MP.GUIGeneralRating
2010-03-02 20:22:32.359375 [Info.][MPMain(1)]: Une exception a été levée par la cible d'un appel.
2010-03-02 20:22:32.359375 [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've previously compiled versions 0.8 without any problem.

What I've missed ?

Thanks
 

WhyMe

Portal Member
July 26, 2008
718
12
Home Country
France France
Re : Error after recompilation

Found : it needs nlog.dll merged too !
 

ZealotSix

Portal Pro
August 18, 2008
181
69
Home Country
United States of America United States of America
FYI Going forward, Cornerstone, Cornerstone.MP, and NLog will not be merged in with movingpictures.dll, because they are shared among multiple plugins. I believe there is even a plan to move Cornerstone and Cornerstone.MP to their own Google code project. You can place the dll's in your plugins\windows folder by themselves without merging and it should work fine.
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
42
Texas
Home Country
United States of America United States of America
WhyMe, we generally try to use the forum for user support. If you'd like to chat about development though jump on our IRC Channel.
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom