private static bool FixLink(BuildItem item, ProjectBase project) { bool didFix = false; string oldLink = item.GetLink(); string newLink = project.ProcessLink(oldLink); if (oldLink != newLink) { item.SetLink(newLink); didFix = true; } return didFix; }