[MonoDevelop] Own addin: missing menu item after second start of MD
David Nerjes
david.hamburg at googlemail.com
Thu May 21 13:22:25 EDT 2009
Here is the whole addin config file:
<Addin id = "Refactoring.CodeFormatting"
namespace = "MonoDevelop"
name = "Code formatting Add-in"
author = "David Nerjes"
copyright = "GPL"
url = ""
description = "Code formatting Add-in"
category = "Refactoring"
version = "0.0.1">
<!--
<Runtime>
<Import assembly="MonoDevelop.Refactoring.CodeFormatting.dll"/>
</Runtime>
-->
<Dependencies>
<Addin id="Core" version="2.1.0"/>
<Addin id="Core.Gui" version="2.1.0"/>
<Addin id="Projects" version="2.1.0"/>
<Addin id="Ide" version="2.1.0"/>
</Dependencies>
<!-- commands -->
<Extension path = "/MonoDevelop/Ide/Commands">
<Command id =
"MonoDevelop.Refactoring.CodeFormatting.RefactoringCommands.CodeFormatting"
_label = "Format File"
_description = "Formats the code of the whole file"
defaultHandler =
"MonoDevelop.Refactoring.CodeFormatting.CodeFormatting"/>
</Extension>
<!-- actions -->
<Extension path = "/MonoDevelop/Ide/MainMenu/Edit">
<CommandItem
id="MonoDevelop.Refactoring.CodeFormatting.RefactoringCommands.CodeFormatting"
/>
</Extension>
</Addin>
On Thu, May 21, 2009 at 7:04 PM, Lluis Sanchez Gual <lluis at novell.com>wrote:
> Can you please post the whole addin config file?
>
> El dj 21 de 05 de 2009 a les 18:24 +0200, en/na David Nerjes va
> escriure:
> > Hey all,
> >
> > I'm trying to write an addin for MonoDevelop 2.1, but I get following
> > warning:
> >
> > "WARNING: The add-in 'MonoDevelop.Refactoring.CodeFormatting,0.0.1' is
> > trying to extend '/MonoDevelop/Ide/Commands', but there isn't any
> > compatible add-in defining this extension point" and
> > "WARNING: The add-in 'MonoDevelop.Refactoring.CodeFormatting,0.0.1' is
> > trying to extend '/MonoDevelop/Ide/MainMenu/Edit', but there isn't any
> > compatible add-in defining this extension point"
> >
> > After adding the compiled assembly to config/addins a menu item
> > occurs in the edit menu, but on the next start the menu item is
> > missing. So I have to remove and add it again.
> > Maybe my plugin configuration is wrong, can you help me, please?
> >
> > Here a snippet of my plugin configuration:
> >
> > <Dependencies>
> > <Addin id="Core" version="2.1.0"/>
> > <Addin id="Core.Gui" version="2.1.0"/>
> > <Addin id="Projects" version="2.1.0"/>
> > <Addin id="Ide" version="2.1.0"/>
> > </Dependencies>
> >
> > <!-- commands -->
> > <Extension path = "/MonoDevelop/Ide/Commands">
> > <Command id =
> >
> "MonoDevelop.Refactoring.CodeFormatting.RefactoringCommands.CodeFormatting"
> > _label = "Format File"
> > _description = "Formats the code of the whole file"
> > defaultHandler =
> > "MonoDevelop.Refactoring.CodeFormatting.CodeFormatting"/>
> > </Extension>
> >
> > <!-- actions -->
> > <Extension path = "/MonoDevelop/Ide/MainMenu/Edit">
> > <CommandItem
> >
> id="MonoDevelop.Refactoring.CodeFormatting.RefactoringCommands.CodeFormatting"
> />
> > </Extension>
> >
> > Best regards,
> > David
> > _______________________________________________
> > 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/20090521/62373cd5/attachment-0001.html
More information about the Monodevelop-list
mailing list