private List <PropertyItem> getMSBProperties(string project) { string key = project; if (String.IsNullOrEmpty(key)) { key = "default"; } if (!pcache.ContainsKey(key)) { if (MSBuild == null) { return(new List <PropertyItem>()); } pcache[key] = MSBuild.listProperties(project); Log.Debug("Properties has been saved in cache ['{0}']", key); } return(pcache[key]); }