public BaseFeature[] LoadFeatures(ViewStack parent) { var result = new List <BaseFeature>(); var assembly = typeof(ApplicationService).Assembly; var features = FeatureService.LoadFeatures(); foreach (var feature in features) { feature.Metadata.IconPath = string.Format("pack://application:,,,/{0}", feature.Metadata.IconPath); } return(features); }