2

I'm trying to write an add-in for MonoDevelop 2.8 (Mac Version). Unfortunately, I'm unable to do so because the Add-In manager does not seem to recognize the compiled add-in library.

I tried the user guide on MonoDevelop website, but I suspect it's outdated and I wasn't able to find more information on the topic.

Does anyone know how to write add-ins for new versions of MonoDevelop?

abatishchev
  • 98,240
  • 88
  • 296
  • 433
Kel
  • 1,217
  • 11
  • 21

1 Answers1

4

You could also try the other guide to creating a simple addin.

Obviously you'll have to update the version numbers of the dependencies. You should also be aware that the addin directory changed - see the article on user profiles. I don't think anything else changed.

That said, rather than copying the addin into the addin install directory at dev time, I would now use MONODEVELOP_DEV_ADDINS as described in this answer.

Community
  • 1
  • 1
Mikayla Hutchinson
  • 16,113
  • 2
  • 44
  • 50
  • Oooh! I'll use MONODEVELOP_DEV_ADDINS here for my perforce addin! – IanNorton Mar 12 '12 at 23:09
  • Thanks for the reply. I'll check and let you know here – Kel Mar 13 '12 at 14:08
  • Figured out what was wrong, the addin directory (at least for MacOSX) is not the one that is indicated in this article. On my machine it was /Applications/MonoDevelop.app/Contents/MacOS/lib/Addins. Otherwise the user guide works. – Kel May 29 '12 at 17:26
  • Don't install addins directly into the app bundle, they'll be removed when MD is updated. I'm pretty sure the directory the builds points to is correct (though you'll have to update the "2.8" value to "3.0" for MD 3.0). But you could check by installing a new addin from the addin manager and finding out where it puts the addin. – Mikayla Hutchinson May 29 '12 at 21:00
  • @Kel: On my machine it seems to be `/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/Addins` instead. – Nicolas Raoul Feb 03 '14 at 08:02