diff options
author | Matt Ward <matt.ward@xamarin.com> | 2017-01-24 14:12:12 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@xamarin.com> | 2017-01-24 14:12:12 +0300 |
commit | be427b05f70979638aef7c859d549c3a7e9c623a (patch) | |
tree | 32b28e2abcbbb30f172ef78bd74f0d8ce37be0cd /main | |
parent | 5b9e7d83d342293745eb34829c47568f6f64e0e1 (diff) |
[Deployment] Use MSBuildProject's Namespace when saving project data
Adding deployment data into the project file now uses the
MSBuildProject's Namespace instead of the Schema constant. This
prevents an xmlns attribute being added when the project's namespace
is not the standard MSBuild project namespace such as with Sdk style
projects.
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/LinuxDeployData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/LinuxDeployData.cs b/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/LinuxDeployData.cs index aed6187f73..e3ce030a58 100644 --- a/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/LinuxDeployData.cs +++ b/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/LinuxDeployData.cs @@ -66,7 +66,7 @@ namespace MonoDevelop.Deployment.Linux var data = ser.Serialize (this); XmlDocument doc = new XmlDocument (); - var writer = new XmlConfigurationWriter { Namespace = MSBuildProject.Schema }; + var writer = new XmlConfigurationWriter { Namespace = entry.MSBuildProject.Namespace }; var elem = writer.Write (doc, data); entry.MSBuildProject.SetMonoDevelopProjectExtension ("Deployment.LinuxDeployData", elem); |