diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-04-09 06:49:48 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-04-09 06:55:55 +0400 |
commit | eed21e9bc122010cc1023f8976f49fb2b52701c3 (patch) | |
tree | 3dbdd86bf8df41e7b3ce7666305a7ccd4f4f6c4f /main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs | |
parent | 1ae68131b5b904962c31a382a21c387a25962069 (diff) |
Conditions that apply to project type should apply to derived types too
BXC18878 - Razor project does not have "Empty Resource Type"
in the "New File" menu
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs index 70f4e811ef..481bcd9ecf 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs @@ -45,11 +45,10 @@ namespace MonoDevelop.Projects { AddNewConfiguration ("Default"); } - - public override string ProjectType { - get { - return "CompiledAssembly"; - } + + public override IEnumerable<string> GetProjectTypes () + { + yield return "CompiledAssembly"; } public override IconId StockIcon { @@ -58,7 +57,6 @@ namespace MonoDevelop.Projects } } - public override SolutionItemConfiguration CreateConfiguration (string name) { return new ProjectConfiguration (name); |