diff options
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/ProjectTemplateCodon.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/ProjectTemplateCodon.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/ProjectTemplateCodon.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/ProjectTemplateCodon.cs index 80405d26c6..82760a1897 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/ProjectTemplateCodon.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/ProjectTemplateCodon.cs @@ -31,20 +31,24 @@ using System; using System.IO; using System.Xml; - using Mono.Addins; namespace MonoDevelop.Ide.Codons { [ExtensionNode (Description="A project template.")] internal class ProjectTemplateCodon : ExtensionNode - { + {
+ //these fields are assigned by reflection, suppress "never assigned" warning
+ #pragma warning disable 649 + [NodeAttribute("resource", "Name of the resource where the template is stored.")] string resource; [NodeAttribute("file", "Name of the file where the template is stored.")] - string file; - + string file;
+
+ #pragma warning restore 649 +
public XmlDocument GetTemplate () { Stream stream; |