There seem to be various reports about Banshee working fine with Mono 4.6 but failing to start with Mono 4.8:
System.MethodAccessException: Method `IBusProxy:.ctor ()' is inaccessible from method `NDesk.DBus.BusObject:.ctor()
for full stacktrace see https://bugzilla.redhat.com/attachment.cgi?id=1257070
Is it a bug?
Is it an incompatibility with a dbus package?
also got error, and reproduceable
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MethodAccessException: Method `IBusProxy:.ctor ()' is inaccessible from method `NDesk.DBus.BusObject:.ctor ()'
Got same error with other project using NDesk.DBus.dll
Same error on Mono 126.96.36.199 (custom arm build), but I think it is not a Mono issue.
parentType = typeof (BusObject);
parentType = declType;
TypeBuilder typeB = modB.DefineType (proxyName, TypeAttributes.Class | TypeAttributes.Public, parentType);
if declaring type is interface, parentType is set to BusObject type which has default (internal) accessibility.
The root of issue is you try to construct public type with base type with default (internal) accessibility.
Mono prior to version 4.8 had probably issue which was fixed and it brakes NDesk.DBus.dll.