Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 53154 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
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 220.127.116.11 (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.