From d9d07dae9d0319b6fbbdedc83921fc923dbc862a Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Sat, 30 Dec 2006 20:00:25 +0000 Subject: [PATCH] Fixed SD2-1256 - Saving a WiX project after changing its project options encodes characters in the .wixproj file. The WiX project options panels now set the TreatPropertyValueAsLiteral property to false on the ConfigurationGuiBindings. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2230 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../WixBinding/Project/Src/Gui/CompilerParametersPanel.cs | 2 ++ .../Project/Src/Gui/SemicolonSeparatedNameValueListBinding.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/CompilerParametersPanel.cs b/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/CompilerParametersPanel.cs index 8fadea4e87..34c495dff4 100644 --- a/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/CompilerParametersPanel.cs +++ b/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/CompilerParametersPanel.cs @@ -34,9 +34,11 @@ namespace ICSharpCode.WixBinding ConnectBrowseFolder("intermediateOutputPathBrowseButton", "intermediateOutputPathTextBox", "${res:Dialog.Options.PrjOptions.Configuration.FolderBrowserDescription}"); b = helper.BindString("wixToolPathTextBox", "WixToolPath"); + b.TreatPropertyValueAsLiteral = false; ConnectBrowseFolder("wixToolPathBrowseButton", "wixToolPathTextBox", String.Empty); b = helper.BindString("wixMSBuildExtensionsPathTextBox", "WixMSBuildExtensionsPath"); + b.TreatPropertyValueAsLiteral = false; ConnectBrowseFolder("wixMSBuildExtensionsPathBrowseButton", "wixMSBuildExtensionsPathTextBox", String.Empty); // Add the extension picker in manually since the anchoring does not diff --git a/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/SemicolonSeparatedNameValueListBinding.cs b/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/SemicolonSeparatedNameValueListBinding.cs index 02e800f155..11be6265e0 100644 --- a/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/SemicolonSeparatedNameValueListBinding.cs +++ b/src/AddIns/BackendBindings/WixBinding/Project/Src/Gui/SemicolonSeparatedNameValueListBinding.cs @@ -22,6 +22,7 @@ namespace ICSharpCode.WixBinding public SemicolonSeparatedNameValueListBinding(NameValueListEditor editor) { this.editor = editor; + TreatPropertyValueAsLiteral = false; } public override void Load()