private void BuildDefinitionNotFound(object sender, BuildDefinitionNotFoundArgs args)
{
if (args.BuildDefinitionSetting == null)
{
_log.Warn("BuildDefinitionNotFound, yet no BuildDefinition provided.");
return;
}
args.BuildDefinitionSetting.Active = false;
_settings.Save();
InvokeTrayNotify(ToolTipIcon.Error, "Can't Find " + args.BuildDefinitionSetting.Name, "This build will be removed from the list of watched builds.\nYou may add it back from the 'Configure CI Server' button.");
}