Bug 2153 - mono bindings: Unhandled Exception: System.ArgumentException: Duplicate file name 'org.adam.Mess.proxy.dll'
Summary: mono bindings: Unhandled Exception: System.ArgumentException: Duplicate file ...
Status: RESOLVED WONTFIX
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-26 03:52 UTC by Adam Lofts
Modified: 2006-08-01 10:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Adam Lofts 2004-12-26 03:52:51 UTC
Using the dbus mono bindings, when trying to reference a dbus object in the same
assembly as it was exported:

MyObj obj = new MyObj();
dbus_service.RegisterObject(obj, "/org/adam/Mess/obj");
...

MyObj same_obj = service.GetObject(typeof(MyObj), "/org/adam/Mess/obj") as MyObj;

i get the exception:

Unhandled Exception: System.ArgumentException: Duplicate file name
'org.adam.Mess.proxy.dll'
in <0x0040a> System.Reflection.Emit.AssemblyBuilder:check_name_and_filename
(string,string,bool)
in <0x0002b> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
(string,string,bool,bool)
in <0x0001f> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
(string,string,bool)
in <0x0008c> DBus.Service:get_Module ()
in <0x000b4> DBus.ProxyBuilder:GetProxy ()
in <0x0004b> DBus.Service:GetObject (System.Type,string)
in <0x00053> Mess.Gui.UnknownMonitor:.ctor ()
in <0x00071> Mess.Gui.Mess:.ctor ()
in <0x00020> Mess.Gui.Mess:Main (string[])
Comment 1 John (J5) Palmieri 2006-08-01 10:42:36 UTC
The Mono bindings have not been maintained for a long time.  They have been
removed from D-Bus.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.