[MonoDevelop] monodevelop and coexisting assembly versions...

Eoin Hennessy eoin.hennessy at gmail.com
Fri Oct 28 06:40:57 EDT 2005


I have installed gtk-sharp (2.5.92). Monodevelop (head and 0.8)
compiles fine, but I get the following runtime error (the entire error
is attached below);

"The assembly 'glib-sharp, 2.4.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' has been requested, but a different
version of this assembly is already loaded: 'glib-sharp, 2.6.0.0,
Culture=neutral, PublicKeyToken=35e10195dab3c99f'."

The 2.6.0.0 glib assembly is present, but it's requesting the 2.4.0.0
version. Any ideas why this may be?

Thanks,
Eoin.

* Entire error:
$ make run
cd build/bin && LD_LIBRARY_PATH=`echo ":/usr/lib64/mozilla" | sed
's/^://g'` /usr/bin/mono --debug MonoDevelop.exe
2005-10-29 02:20:55,503 [16384] ERROR MonoDevelop.Core.ILoggingService
[(null)] - Add-in failed to load: MonoDevelop.Core.Gui
2005-10-29 02:20:55,517 [16384] ERROR MonoDevelop.Core.ILoggingService
[(null)] - MonoDevelop.Core.AddIns.InvalidAssemblyVersionException: An
assembly version conflict has been detected. The assembly 'glib-sharp,
2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' has been
requested, but a different version of this assembly is already loaded:
'glib-sharp, 2.6.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f'.
in [0x00132] MonoDevelop.Core.AddIns.AssemblyLoader:CheckAssemblyVersion
(System.String aname, IAssemblyDefinition asm, System.String
baseDirectory)
in [0x000ec] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AssemblyLoader.cs:109)
MonoDevelop.Core.AddIns.AssemblyLoader:CheckAssemblyVersion
(System.String aname, IAssemblyDefinition asm, System.String
baseDirectory)
2005-10-29 02:20:55,550 [16384] ERROR MonoDevelop.Core.ILoggingService
[(null)] - Add-in failed to load: MonoDevelop.Projects.Gui
2005-10-29 02:20:55,569 [16384] ERROR MonoDevelop.Core.ILoggingService
[(null)] - MonoDevelop.Core.AddIns.MissingDependencyException: Addin:
MonoDevelop.Core.Gui
in [0x00096] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddIn.cs:270)
MonoDevelop.Core.AddIns.AddIn:CheckDependencies (System.Xml.XmlElement
deps)
in [0x00113] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddIn.cs:210)
MonoDevelop.Core.AddIns.AddIn:Initialize (System.String fileName)
in [0x00008] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddInTreeSingleton.cs:74)
MonoDevelop.Core.AddIns.AddInTreeSingleton:InsertAddIn (System.String
addInFile)
2005-10-29 02:20:55,594 [16384] ERROR MonoDevelop.Core.ILoggingService
[(null)] - Add-in failed to load: MonoDevelop.Ide
2005-10-29 02:20:55,595 [16384] ERROR MonoDevelop.Core.ILoggingService
[(null)] - MonoDevelop.Core.AddIns.MissingDependencyException: Addin:
MonoDevelop.Core.Gui
in [0x00096] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddIn.cs:270)
MonoDevelop.Core.AddIns.AddIn:CheckDependencies (System.Xml.XmlElement
deps)
in [0x00113] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddIn.cs:210)
MonoDevelop.Core.AddIns.AddIn:Initialize (System.String fileName)
in [0x00008] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddInTreeSingleton.cs:74)
MonoDevelop.Core.AddIns.AddInTreeSingleton:InsertAddIn (System.String
addInFile)
System.NullReferenceException: Object reference not set to an instance
of an object
in [0x00093] (at
/mnt/home/eoin/projects/mono/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AddInService.cs:93)
MonoDevelop.Core.AddIns.AddInService:StartApplication (System.String
addinId, System.String[] parameters)
make: *** [runmd] Error 255

On 10/27/05, Alexandre Miguel Pedro Gomes <alexmipego at gmail.com> wrote:
> What you need is to install gtk-sharp with 2.6 support and build monodevelop
> after that. Monodevelop does work with 2.6 - I use it.
>
>  Not sure how to do it with emerge, maybe you need a USE flag or to change
> the ebuild, in last resource get the tarballs :)
>
>  Good luck.
>
>
> On 10/27/05, Eoin Hennessy <eoin.hennessy at gmail.com> wrote:
> >
> > I'm pretty new to mono and would like to investigate monodevelop,
> > problem is; monodevelop seems to require glib-sharp-2.4.0.0 whereas
> > some applications I am interested in, such as banshee, require
> > glib-sharp-2.6.0.0 . Is it possible for different versions of the same
> > assembly to coexist in this situation? I ask because gentoo portage
> > does not allow this.
> >
> > Thanks,
> > Eoin.
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> >
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
>
>
>
> --
> Alexandre Gomes, Portugal


More information about the Monodevelop-list mailing list