예제 #1
0
        private void SolutionManager_NuGetProjectRenamed(object sender, NuGetProjectEventArgs e)
        {
            var project     = SolutionManager.GetDTEProject(SolutionManager.GetNuGetProjectSafeName(e.NuGetProject));
            var windowFrame = FindExistingWindowFrame(project);

            if (windowFrame != null)
            {
                windowFrame.SetProperty((int)__VSFPROPID.VSFPROPID_OwnerCaption, String.Format(
                                            CultureInfo.CurrentCulture,
                                            Resx.Label_NuGetWindowCaption,
                                            project.Name));
            }
        }