[MonoDevelop] Addin not loading automatically?

Noam Gat noamgat at gmail.com
Tue Apr 26 06:33:25 EDT 2011


That did the trick! Changing it to 2.4 worked. Thanks a lot!
Out of curiosity, how could I have figured it out on my own?

On Tue, Apr 26, 2011 at 1:22 PM, Lluis Sanchez Gual
<slluis.devel at gmail.com>wrote:

> Make sure the version of the "Ide" dependency matches the MonoDevelop
> version you have. It should be 2.4 for MD 2.4.x or 2.6 for MD 2.6 beta.
>
> Lluis.
>
>
> El ds 23 de 04 de 2011 a les 18:51 +0300, en/na Noam Gat va escriure:
> > Hi,
> >
> > I created an addin along the lines of the sample. I ended up with this
> > XML :
> >
> > <Addin namespace   = "MonoDevelop"
> >        id          = "UnityInterpreter"
> >        name        = "Unity Python Interpreter"
> >        author      = "Noam Gat"
> >        copyright   = "MIT/X11"
> >        url         = "http://www.monodevelop.com"
> >        description = "Provides a command to run python code in a Unity
> > Python Interpreter."
> >        category    = "Unity Extensions"
> >        version     = "2.0">
> >
> >     <Dependencies>
> >         <Addin id="Ide" version="2.0"/>
> >     </Dependencies>
> >
> >     <Extension path = "/MonoDevelop/Ide/Commands/Edit">
> >         <Command id =
> > "MonoDevelop.UnityInterpreter.UnityInterpreterCommands.RunCode"
> >         _label = "Execute in Unity"
> >         _description = "Run Code in Unity Interpreter"
> >         shortcut = "F3"
> >               defaultHandler =
> > "MonoDevelop.UnityInterpreter.RunCodeHandler"  />
> >     </Extension>
> >
> >     <Extension path = "/MonoDevelop/Ide/MainMenu/Run">
> >         <CommandItem
> > id="MonoDevelop.UnityInterpreter.UnityInterpreterCommands.RunCode" />
> >     </Extension>
> > </Addin>
> >
> > I implemented the classes and all. It works fine, with one problem.
> > Even though the addin is loaded automatically when MonoDevelop starts,
> > I only see the command in the run menu if I do :
> >
> > Tools -> Addin Manager -> Unity Extensions -> Unity Python Interpreter
> >
> > And then disable it, and then enable it again. After I do that, it
> > works fine.
> >
> > It seems like something isn't loading automatically. Does anyone have
> > any idea what it might be?
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20110426/be094425/attachment.html 


More information about the Monodevelop-list mailing list