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[])
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.