Setup plugin-> Failes to locate assembly (1 Viewer)

unknow21

Portal Member
March 15, 2005
24
0
Hie,

I wrote a setup form my plugin EPGfr. In the MP setup i have this

when i try to setup my plugin :(

I build with last CVS MP in vs C# express.

Help me please.

PS: Sorry form poor english, i'm french
PS2: Ofcourse I use System.xml.XmlSerializers in my config dialog
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
Hi,

I ran into the same error.

I am not sure what the technical explaination is but
it is somthing like the configuration app is not actually
loading the entire plugin for the configuration, and the
configuration app will only look for assemblies in the
root MP folder so when you call your EPGfr.Serializers
MP cannot find it because it is not in the root folder.

So...
What I did was created a MyPluginHelper.dll library to put my
serialization code (and other code) in and reference this
from MyPlugin.

Now put the MyPlugin.dll in the correct plugin folder
and the MyPluginHelper.dll in the root MP folder and you
are up and running again.

Oh and don't worry about trying to handle AppDomain.CurrentDomain.AssemblyResolve
to point to your dll because the configuration already
does this and creates the messagebox you showed
above and exits the app.

HTH,
patrick
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
I tried with CVS source from 12-29-2005 and had no problems using the
method I mentioned above.

Are you using that method?
If so, are you trying to call EPGfr.dll from EPGfrHelper.dll (instead of calling EPGfrHelper.dll from EPGfr.dll)?


patrick
 

Users who are viewing this thread

Top Bottom