private bool GetBoolAttr(MSBuildExecution.ProjectInstance properties, string name) { CurrentConfig = properties; var s = GetProjectProperty(name); return s != null && s.ToUpperInvariant().Trim() == "TRUE"; }