2011-02-04, 01:32 PM
My plugin is split up in to a number of dlls. Unless all the files are in the Plugins\Common folder I get this error:
It never looks in the folder it found the plugin dll! I'm I doing something wrong? These extra dlls are not 'common' so shouldn't really be in the common folder.
Code:
2011-02-04 13:19:17.588 [DEBUG][1] About to check for plugin interfaces in: C:\Documents and Settings\All Users\Documents\NPVR\Plugins\Spotify\MusicSpot.NpvrSpotifyPlugin.dll
2011-02-04 13:19:17.588 [DEBUG][1] Plugin PDB also exists: C:\Documents and Settings\All Users\Documents\NPVR\Plugins\Spotify\MusicSpot.NpvrSpotifyPlugin.pdb
2011-02-04 13:19:17.760 [DEBUG][1] Looking for assembly in (2) C:\Documents and Settings\All Users\Documents\NPVR\Plugins\common\MusicSpot.Common.dll
2011-02-04 13:19:17.760 [DEBUG][1] Looking for assembly in (3) C:\Program Files\NPVR\Plugins\common\MusicSpot.Common.dll
2011-02-04 13:19:17.760 [ERROR][1] Unexpected error: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at NUtility.PluginRegistry.LoadPluginsFromRoot(String pluginDirectoryBase)
It never looks in the folder it found the plugin dll! I'm I doing something wrong? These extra dlls are not 'common' so shouldn't really be in the common folder.
My Projects
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]