diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-04-22 17:31:48 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-04-22 17:31:48 +0400 |
commit | 9ff5ce4db0dad4c541c7b21bd0fe611c685ebea8 (patch) | |
tree | 66231b900f7b159f6da48d4376d1f91268e174c8 /main/src/core/MonoDevelop.Core | |
parent | 01161608bca5cfd5ff6aaec2658c1c08a76b209f (diff) |
[Gtk] Only display GTK file templates for assembly projects
Diffstat (limited to 'main/src/core/MonoDevelop.Core')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetAssemblyProject.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetAssemblyProject.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetAssemblyProject.cs index 9589f0251f..cba01e80c1 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetAssemblyProject.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetAssemblyProject.cs @@ -46,6 +46,13 @@ namespace MonoDevelop.Projects base (languageName, projectCreateInfo, projectOptions) { } + + public override System.Collections.Generic.IEnumerable<string> GetProjectTypes () + { + yield return "DotNetAssembly"; + foreach (var pt in base.GetProjectTypes ()) + yield return pt; + } public override bool SupportsFramework (TargetFramework framework) { |