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