From 21590a3e889cec4af6affc17067eeb3825030752 Mon Sep 17 00:00:00 2001 From: yck1509 Date: Sat, 5 Jul 2014 14:11:56 +0800 Subject: [PATCH] Fix failed to save project with probe paths Fix #41 --- Confuser.Core/Project/ConfuserProject.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Confuser.Core/Project/ConfuserProject.cs b/Confuser.Core/Project/ConfuserProject.cs index beb68f5fd..5ebb4075f 100644 --- a/Confuser.Core/Project/ConfuserProject.cs +++ b/Confuser.Core/Project/ConfuserProject.cs @@ -435,14 +435,14 @@ public XmlDocument Save() { elem.AppendChild(i.Save(xmlDoc)); foreach (string i in ProbePaths) { - XmlElement path = xmlDoc.CreateElement("probePath"); - path.Value = i; + XmlElement path = xmlDoc.CreateElement("probePath", ConfuserProject.Namespace); + path.InnerText = i; elem.AppendChild(path); } foreach (string i in PluginPaths) { - XmlElement path = xmlDoc.CreateElement("plugin"); - path.Value = i; + XmlElement path = xmlDoc.CreateElement("plugin", ConfuserProject.Namespace); + path.InnerText = i; elem.AppendChild(path); }