diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2017-01-18 14:50:55 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2017-01-18 14:50:55 +0300 |
commit | 4c6d2481efef4910157804e280742b851232081b (patch) | |
tree | 7593a54c589a45903788b17c71fa13d3bf18ee10 /main/src/addins/VBNetBinding | |
parent | 9c83339303c5c12aa72c7dd871c969f8b96323c1 (diff) |
Fix 40882 - GTK# project template availabe for F# and VB even though GTK# addin is disabled
Diffstat (limited to 'main/src/addins/VBNetBinding')
-rw-r--r-- | main/src/addins/VBNetBinding/VBNetBinding.addin.xml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/src/addins/VBNetBinding/VBNetBinding.addin.xml b/main/src/addins/VBNetBinding/VBNetBinding.addin.xml index fd4b3c11dc..5b12b56178 100644 --- a/main/src/addins/VBNetBinding/VBNetBinding.addin.xml +++ b/main/src/addins/VBNetBinding/VBNetBinding.addin.xml @@ -25,7 +25,6 @@ <Extension path = "/MonoDevelop/Ide/ProjectTemplates"> <ProjectTemplate id = "MonoDevelop.VBNet.EmptyProject" resource = "EmptyVBProject.xpt.xml"/> <ProjectTemplate id = "MonoDevelop.VBNet.ConsoleProject" resource = "VBConsoleApplicationProject.xpt.xml"/> - <ProjectTemplate id = "MonoDevelop.VBNet.GtkSharp2Project" resource = "VBGtkSharp2Project.xpt.xml"/> </Extension> <Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/General"> @@ -72,5 +71,13 @@ <Extension path = "/MonoDevelop/ProjectModel/DomParser"> <Parser class = "MonoDevelop.VBNetBinding.DomParser" fileExtensions=".vb" /> </Extension>--> - + <Module> + <!-- The GTK# template should only be available if the GTK add-in is enabled --> + <Dependencies> + <Addin id="GtkCore" version="$(Version)" /> + </Dependencies> + <Extension path = "/MonoDevelop/Ide/ProjectTemplates"> + <ProjectTemplate id = "MonoDevelop.VBNet.GtkSharp2Project" resource = "VBGtkSharp2Project.xpt.xml"/> + </Extension> + </Module> </ExtensionModel> |