diff --git a/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml b/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml index 6616d55b7b..1b57b2092e 100644 --- a/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml +++ b/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml @@ -137,10 +137,11 @@ Content="..." Command="{Binding ChangeOutputPath}"> - + + + + - + - + - - - + @@ -241,11 +235,13 @@ Grid.Column="1" HorizontalAlignment="Right" Content="{core:Localize Dialog.ProjectOptions.Build.GenerateSerializationAssembly}"> + @@ -258,11 +254,14 @@ Grid.Column="1" HorizontalAlignment="Right" Content="{core:Localize Dialog.ProjectOptions.Build.TargetCPU}"> + + @@ -271,14 +270,13 @@ Grid.Column="1" HorizontalAlignment="Right" Content="{core:Localize Dialog.ProjectOptions.Build.FileAlignment}"> - diff --git a/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml.cs b/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml.cs index e62016ca74..d9e16506e3 100644 --- a/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml.cs +++ b/src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml.cs @@ -48,10 +48,6 @@ namespace CSharpBinding.OptionPanels public BuildOptionsXaml() { InitializeComponent(); - } - - private void Initialize() - { this.serializationInfo = new List(); this.serializationInfo.Add (new KeyItemPair("Off",StringParser.Parse("${res:Dialog.ProjectOptions.Build.Off}"))); @@ -64,7 +60,6 @@ namespace CSharpBinding.OptionPanels this.targetCPU.Add(new KeyItemPair( "x86",StringParser.Parse("${res:Dialog.ProjectOptions.Build.TargetCPU.x86}"))); this.targetCPU.Add(new KeyItemPair( "x64",StringParser.Parse("${res:Dialog.ProjectOptions.Build.TargetCPU.x64}"))); this.targetCPU.Add(new KeyItemPair( "Itanium",StringParser.Parse("${res:Dialog.ProjectOptions.Build.TargetCPU.Itanium}"))); - this.TargetCPU = targetCPU; @@ -74,17 +69,8 @@ namespace CSharpBinding.OptionPanels fileAlignment.Add(new KeyItemPair("2048", "2048")); fileAlignment.Add(new KeyItemPair("4096", "4096")); fileAlignment.Add(new KeyItemPair("8192", "8192")); - FileAlign = fileAlignment; - - this.UpdateProjectCommand = new RelayCommand(UpdateProjectExecute); - this.ChangeOutputPath = new RelayCommand(ChangeOutputPathExecute); - UpdateTargetFrameworkCombo(); - XmlDocHelper(); - this.BaseIntermediateOutputPathCommand = new RelayCommand(BaseIntermediateOutputPathExecute); - this.IntermediateOutputPathCommand = new RelayCommand(IntermediateOutputPathExecute); - this.warnLevel = new List(); this.warnLevel.Add(new KeyItemPair("0","0")); this.warnLevel.Add(new KeyItemPair("1","1")); @@ -92,6 +78,16 @@ namespace CSharpBinding.OptionPanels this.warnLevel.Add(new KeyItemPair("3","3")); this.warnLevel.Add(new KeyItemPair("4","4")); this.WarnLevel = warnLevel; + } + + private void Initialize() + { + this.UpdateProjectCommand = new RelayCommand(UpdateProjectExecute); + this.ChangeOutputPath = new RelayCommand(ChangeOutputPathExecute); + UpdateTargetFrameworkCombo(); + XmlDocHelper(); + this.BaseIntermediateOutputPathCommand = new RelayCommand(BaseIntermediateOutputPathExecute); + this.IntermediateOutputPathCommand = new RelayCommand(IntermediateOutputPathExecute); SetTreatWarningAsErrorRadioButtons(); base.RaisePropertyChanged(string.Empty); } @@ -140,6 +136,16 @@ namespace CSharpBinding.OptionPanels get {return GetProperty("RegisterForComInterop","",TextBoxEditMode.EditRawProperty ); } } + + public ProjectProperty GenerateSerializationAssemblies { + get {return GetProperty("GenerateSerializationAssemblies","",TextBoxEditMode.EditRawProperty ); } + } + + + public ProjectProperty PlatformTarget { + get {return GetProperty("PlatformTarget","",TextBoxEditMode.EditRawProperty ); } + } + public ProjectProperty FileAlignment { get {return GetProperty("FileAlignment","",TextBoxEditMode.EditRawProperty ); } } @@ -282,7 +288,7 @@ namespace CSharpBinding.OptionPanels } #endregion - + #region TargetCPU @@ -294,7 +300,6 @@ namespace CSharpBinding.OptionPanels } #endregion - #region FileAlignment public List FileAlign {