[MonoDevelop] Using conditionals in the addin XML files
Rubens Ramos
rubensr@users.sourceforge.net
Wed, 24 Nov 2004 00:10:57 +1030
Hi List,
Here is my problem: I want to add a sub menu to the context menu
in the project file browser, but this menu would only appear
when a certain option is chosen in the project options dialog.
(ie when you select that option, you can right-click on a file
and you will see a new sub-menu, otherwise you will only see
the standard options)
I have been looking at the existing XML files but I am not sure
if there is any attribute to "Conditional" that I can use to
remove/add my menu depending on the project configuration.
#D documentation says that it is possible to use:
<Conditional string="${property:...} equals="...">
but I haven't seen any real usage of it in MD, so don't know
if it works or if it should be used.
Any help appreciated.
Rubens