[MonoDevelop] Own addin: missing menu item after second start of MD
Lluis Sanchez Gual
lluis at novell.com
Thu May 21 13:04:54 EDT 2009
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
More information about the Monodevelop-list
mailing list