private void TryChangingExpandedValue(IBuildProperty property) { try { property.ExpandedValue = _project.ExpandProperties(property.ExpandedValue, new Location(_fileInfo.FullName)); } catch (BuildException) { /* ignore */ } }
private static void TryExpandingProperty(Project project, IBuildProperty property) { try { property.DefaultExpandedValue = property.ExpandedValue = project.ExpandProperties(property.Value, new Location("Buildfile")); } catch (BuildException) { // TODO: Do something with the error message } }
private static void TryExpandingProperty(Project project, IBuildProperty property) { try { property.DefaultExpandedValue = property.ExpandedValue = project.ExpandProperties(property.Value, new Location("Buildfile")); } catch (BuildException) { // TODO: Do something with the error message } }
private void LoadNonProjectProperty(IBuildProperty property) { if (!property.ReadOnly && property.ExpandedValue != property.DefaultExpandedValue) { if (IsNotExpanded(property.ExpandedValue)) { TryChangingExpandedValue(property); } _project.Properties.AddReadOnly(property.Name, property.ExpandedValue); } }
internal BuildPropertyDescriptor(IBuildProperty item, Attribute[] attrs) : base(item.Name, attrs) { _item = item; }
internal BuildPropertyDescriptor(IBuildProperty item, Attribute[] attrs) : base(item.Name, attrs) { _item = item; }
private void TryChangingExpandedValue(IBuildProperty property) { try { property.ExpandedValue = _project.ExpandProperties(property.ExpandedValue, new Location(_fileInfo.FullName)); } catch (BuildException) { /* ignore */ } }
private void LoadNonProjectProperty(IBuildProperty property) { if (!property.ReadOnly && property.ExpandedValue != property.DefaultExpandedValue) { if (IsNotExpanded(property.ExpandedValue)) { TryChangingExpandedValue(property); } _project.Properties.AddReadOnly(property.Name, property.ExpandedValue); } }