// executed before the menu is open
        void menuCommand_BeforeQueryStatus(object sender, EventArgs e)
        {
            if (sender == null)
            {
                return;
            }

            string filePath;

            VsUtils.GetSingleProjectItemSelection(out filePath);

            var menuCommand = (OleMenuCommand)sender;

            menuCommand.Visible = menuCommand.Enabled = // visible if we selected the resources folder path
                                                        Resourcer.GetResourcesFolderPath().Equals(filePath);
        }