JoeDalton said:carbinate,
This problem is already fixed. If you can get your hands on a recent CVS build from https://www.team-mediaportal.de/mediaportal-cvs-download.php (or build it yourself from the sources), the configuration program should run fine.
As a workaround, you might try deleting the externaldisplay.xml file in your mediaportal home folder before starting the plugin configuration.
You need to reconfigure the plugin then, but that is what you want, no?
If you then get another exception about a missing processplugin.dll file,
replace the contents of the configuration.exe.config file with this:
Code:<configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="plugins\process"/> </assemblyBinding> </runtime> </configuration>
Joe
private static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
if (args.Name.Contains(".resources"))
return null;
if (args.Name.Contains(".XmlSerializers"))
return null;
MessageBox.Show("Failed to locate assembly '" + args.Name + "'." + Environment.NewLine + "Note that the configuration program must be executed from/reside in the MediaPortal folder, the execution will now end.", "MediaPortal", MessageBoxButtons.OK, MessageBoxIcon.Error);
System.Windows.Forms.Application.Exit();
return null;
}
JoeDalton said:carbinate,
If you tried building MP from sources then I'm pretty sure you haven't got the latest ones... Please check the end of the .\Configuration\Startup.cs file. The CurrentDomain_AssemblyResolve method should read as follows:
You can see that if the name of the assembly contains ".XmlSerializers", I return null instead of showing the error message you are (still) getting...Code:private static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args) { if (args.Name.Contains(".resources")) return null; if (args.Name.Contains(".XmlSerializers")) return null; MessageBox.Show("Failed to locate assembly '" + args.Name + "'." + Environment.NewLine + "Note that the configuration program must be executed from/reside in the MediaPortal folder, the execution will now end.", "MediaPortal", MessageBoxButtons.OK, MessageBoxIcon.Error); System.Windows.Forms.Application.Exit(); return null; }
I think I can presume you didn't build MP from sources yourself, otherwise you would have known what I meant :wink:carbinate said:First, what do you mean with "If you tried building MP from sources then I'm pretty sure you haven't got the latest ones"??
Second, I cant find the startup.cs file?! what shall I then do?