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