protected override void OnExecute()
        {
            VCProjectWrapper project = SolutionHelper.GetProjectOfSelection(Package);

            FolderBrowserDialog dlg = new FolderBrowserDialog();

            dlg.SelectedPath        = project.GetProjectDirectory();
            dlg.ShowNewFolderButton = false;

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                ExtensionSettings settings   = SettingsManager.GetSettings(project);
                string            projectDir = project.GetProjectDirectory();
                settings.RelativeProjectRoot = PathHelper.GetRelativePath(projectDir, dlg.SelectedPath + Path.DirectorySeparatorChar);
                SettingsManager.SaveSettings(project);
            }
        }
 protected override void OnBeforeQueryStatus()
 {
     Visible = SolutionHelper.GetProjectOfSelection(Package) != null;
     Enabled = true;
 }