|
|
|
@ -48,10 +48,6 @@ namespace CSharpBinding.OptionPanels
@@ -48,10 +48,6 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
public BuildOptionsXaml() |
|
|
|
|
{ |
|
|
|
|
InitializeComponent(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void Initialize() |
|
|
|
|
{ |
|
|
|
|
this.serializationInfo = new List<KeyItemPair>(); |
|
|
|
|
|
|
|
|
|
this.serializationInfo.Add (new KeyItemPair("Off",StringParser.Parse("${res:Dialog.ProjectOptions.Build.Off}"))); |
|
|
|
@ -64,7 +60,6 @@ namespace CSharpBinding.OptionPanels
@@ -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
@@ -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<KeyItemPair>(); |
|
|
|
|
this.warnLevel.Add(new KeyItemPair("0","0")); |
|
|
|
|
this.warnLevel.Add(new KeyItemPair("1","1")); |
|
|
|
@ -92,6 +78,16 @@ namespace CSharpBinding.OptionPanels
@@ -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
@@ -140,6 +136,16 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
get {return GetProperty("RegisterForComInterop","",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> GenerateSerializationAssemblies { |
|
|
|
|
get {return GetProperty("GenerateSerializationAssemblies","",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> PlatformTarget { |
|
|
|
|
get {return GetProperty("PlatformTarget","",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> FileAlignment { |
|
|
|
|
get {return GetProperty("FileAlignment","",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
} |
|
|
|
@ -282,7 +288,7 @@ namespace CSharpBinding.OptionPanels
@@ -282,7 +288,7 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region TargetCPU
|
|
|
|
|
|
|
|
|
@ -294,7 +300,6 @@ namespace CSharpBinding.OptionPanels
@@ -294,7 +300,6 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
} |
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region FileAlignment
|
|
|
|
|
|
|
|
|
|
public List<KeyItemPair> FileAlign { |
|
|
|
|