public override void SetValue(object component, object value) { ProjectItem p = (ProjectItem)component; p.SetEvaluatedMetadata(Name, (string)value); p.InformSetValue(this, component, value); if (runCustomTool) { FileProjectItem fpi = p as FileProjectItem; if (fpi != null) { CustomToolsService.RunCustomTool(fpi, false); } } }