Bug #377672 <https://bugs.launchpad.net/ndesk-dbus/+bug/377672>
I stumbled upon this while trying to suspend my laptop using Gnome-DO's
Gnome-session plugin. It may also cause problems with other C# apps.
There's a quick fix for this in the first post of the launchpad's bug
report :
--- ndesk-dbus-0.6.0.orig/src/TypeImplementer.cs 2007-10-11
20:01:11.000000000 +0000
+++ ndesk-dbus-0.6.0/src/TypeImplementer.cs 2010-01-29
18:11:32.000000000 +0000
@@ -34,7 +34,7 @@ namespace NDesk.DBus
InitHack ();
- TypeBuilder typeB = modB.DefineType (declType.Name +
"Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
+ TypeBuilder typeB = modB.DefineType (declType.FullName +
"Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
Implement (typeB, declType);
Might want to add this quick fix to the package in extra.