public static String GetEvaluatedProperty(EnvDTE.Project project, String name, String defaultValue) { String value = MSBuildUtils.GetEvaluatedProperty(MSBuildUtils.LoadedProject(project.FullName), name); return(String.IsNullOrEmpty(value) ? defaultValue : value); }
public static string GetEvaluatedProperty(IVsProject project, string name, string defaultValue) { string value = MSBuildUtils.GetEvaluatedProperty(MSBuildUtils.LoadedProject(GetProjectFullPath(project), DTEUtil.IsCppProject(project), true), name); return(string.IsNullOrEmpty(value) ? defaultValue : value); }