public EnvDTE.Project GetDTEProject(string nuGetProjectSafeName) { if (string.IsNullOrEmpty(nuGetProjectSafeName)) { throw new ArgumentException(ProjectManagement.Strings.Argument_Cannot_Be_Null_Or_Empty, "nuGetProjectSafeName"); } EnsureInitialize(); EnvDTE.Project dteProject; _projectSystemCache.TryGetDTEProject(nuGetProjectSafeName, out dteProject); return(dteProject); }