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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
MonoDevelop is unable to install addin due to the error "The following dependencies couldn't be resolved Ide v2.6.0" after I removed the addin and tried to install it again.
I tried to change the string "<Addin id="Ide" version="2.6.0"/>" to
"<Addin id="Ide" version="2.6"/>"
"<Addin id="Ide" version="18.104.22.168"/>" but none of them works.
Created attachment 989 [details]
Ok. It seems I've got it. The problem is in namespace conflict.
When I specify the namespace "MonoDevelop.Samples.Addins" for my addin and set dependency like this
<Addin namespace = "MonoDevelop.Samples.Addins"...
the system searches "MonoDevelop.Samples.Addins.Ide" instead of "MonoDevelop.Ide" and of course fails. So even if I specify somthing like <Addin id="MonoDevelop.Ide"... it fails anyway because it tries to find "MonoDevelop.Samples.Addins.MonoDevelop.Ide". The only way to make it work is to specify the namespace "MonoDevelop" for all addins. Is this a bug or made by design?
By design, if the addin has a namespace then addin dependencies are resolved relative to that. You must do one of the following:
a) use absolute ids for the addin and its dependencies
b) ensure the namespace only has the part of the id that's common to the addin and its dependencies
c) globally qualify the dependency (using "::")