|
|
|
@ -94,23 +94,20 @@ namespace CSharpBinding.OptionPanels
@@ -94,23 +94,20 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.ConfigurationSpecific); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> Optimize { |
|
|
|
|
get {return GetProperty("Optimize", "", |
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.ConfigurationSpecific); } |
|
|
|
|
public ProjectProperty<bool> Optimize { |
|
|
|
|
get { return GetProperty("Optimize", false, PropertyStorageLocations.ConfigurationSpecific); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> AllowUnsafeBlocks { |
|
|
|
|
get {return GetProperty("AllowUnsafeBlocks", "", TextBoxEditMode.EditRawProperty); } |
|
|
|
|
public ProjectProperty<bool> AllowUnsafeBlocks { |
|
|
|
|
get { return GetProperty("AllowUnsafeBlocks", false); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> CheckForOverflowUnderflow { |
|
|
|
|
get {return GetProperty("CheckForOverflowUnderflow", "", |
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.ConfigurationSpecific); } |
|
|
|
|
public ProjectProperty<bool> CheckForOverflowUnderflow { |
|
|
|
|
get { return GetProperty("CheckForOverflowUnderflow", false, PropertyStorageLocations.ConfigurationSpecific); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> NoStdLib { |
|
|
|
|
get {return GetProperty("NoStdLib", "", TextBoxEditMode.EditRawProperty); } |
|
|
|
|
public ProjectProperty<bool> NoStdLib { |
|
|
|
|
get { return GetProperty("NoStdLib", false); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -128,32 +125,29 @@ namespace CSharpBinding.OptionPanels
@@ -128,32 +125,29 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// used in multibinding
|
|
|
|
|
public ProjectProperty<string> RegisterForComInterop { |
|
|
|
|
get {return GetProperty("RegisterForComInterop","", |
|
|
|
|
TextBoxEditMode.EditRawProperty, PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
public ProjectProperty<bool> RegisterForComInterop { |
|
|
|
|
get {return GetProperty("RegisterForComInterop", false, PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> GenerateSerializationAssemblies { |
|
|
|
|
get {return GetProperty("GenerateSerializationAssemblies","Auto", |
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
TextBoxEditMode.EditEvaluatedProperty, PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> PlatformTarget { |
|
|
|
|
get {return GetProperty("PlatformTarget","AnyCPU", |
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
TextBoxEditMode.EditEvaluatedProperty, PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> FileAlignment { |
|
|
|
|
get {return GetProperty("FileAlignment","4096", |
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
TextBoxEditMode.EditEvaluatedProperty, PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> BaseAddress { |
|
|
|
|
get {return GetProperty("BaseAddress","0x400000", |
|
|
|
|
TextBoxEditMode.EditRawProperty,PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
TextBoxEditMode.EditEvaluatedProperty,PropertyStorageLocations.PlatformSpecific ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -164,12 +158,12 @@ namespace CSharpBinding.OptionPanels
@@ -164,12 +158,12 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> IntermediateOutputPath { |
|
|
|
|
get {return GetProperty("IntermediateOutputPath",@"obj\",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
get {return GetProperty("IntermediateOutputPath",@"obj\$(Configuration)\",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> WarningLevel { |
|
|
|
|
get {return GetProperty("WarningLevel","4",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
get {return GetProperty("WarningLevel","4",TextBoxEditMode.EditEvaluatedProperty ); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -183,8 +177,8 @@ namespace CSharpBinding.OptionPanels
@@ -183,8 +177,8 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ProjectProperty<string> TreatWarningsAsErrors { |
|
|
|
|
get {return GetProperty("TreatWarningsAsErrors","false",TextBoxEditMode.EditRawProperty ); } |
|
|
|
|
public ProjectProperty<bool> TreatWarningsAsErrors { |
|
|
|
|
get {return GetProperty("TreatWarningsAsErrors", false); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -311,16 +305,6 @@ namespace CSharpBinding.OptionPanels
@@ -311,16 +305,6 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SelectedFileAlign |
|
|
|
|
{ |
|
|
|
|
get {return this.FileAlignment.Value;} |
|
|
|
|
set {this.FileAlignment.Value = value; |
|
|
|
|
base.RaisePropertyChanged(()=> SelectedFileAlign); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region BaseIntermediateOutputPath
|
|
|
|
@ -367,16 +351,6 @@ namespace CSharpBinding.OptionPanels
@@ -367,16 +351,6 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
base.RaisePropertyChanged(() => WarnLevel); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SelectedWarningLevel { |
|
|
|
|
get { |
|
|
|
|
return this.WarningLevel.Value; } |
|
|
|
|
set { |
|
|
|
|
WarningLevel.Value = value; |
|
|
|
|
base.RaisePropertyChanged(() => SelectedWarningLevel); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
@ -384,9 +358,7 @@ namespace CSharpBinding.OptionPanels
@@ -384,9 +358,7 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
|
|
|
|
|
private void SetTreatWarningAsErrorRadioButtons() |
|
|
|
|
{ |
|
|
|
|
bool result; |
|
|
|
|
bool.TryParse(this.TreatWarningsAsErrors.Value,out result); |
|
|
|
|
if (result) { |
|
|
|
|
if (this.TreatWarningsAsErrors.Value) { |
|
|
|
|
this.allRadioButton.IsChecked = true; |
|
|
|
|
} else { |
|
|
|
|
if (WarningsAsErrors.Value.Length > 0) { |
|
|
|
@ -411,9 +383,9 @@ namespace CSharpBinding.OptionPanels
@@ -411,9 +383,9 @@ namespace CSharpBinding.OptionPanels
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ((bool)this.allRadioButton.IsChecked) { |
|
|
|
|
this.TreatWarningsAsErrors.Value = "true"; |
|
|
|
|
this.TreatWarningsAsErrors.Value = true; |
|
|
|
|
} else { |
|
|
|
|
this.TreatWarningsAsErrors.Value = "false"; |
|
|
|
|
this.TreatWarningsAsErrors.Value = false; |
|
|
|
|
} |
|
|
|
|
this.noneRadioButton.Checked -= ErrorButton_Checked; |
|
|
|
|
this.allRadioButton.Checked -= ErrorButton_Checked; |
|
|
|
|