コード例 #1
0
        // =========================================================================================
        // Methods
        // =========================================================================================

        /// <summary>
        /// Hides all of the tabs in the Add Reference dialog except for the browse tab, which will search for wixlibs.
        /// </summary>
        /// <returns>If the method succeeds, it returns S_OK. If it fails, it returns an error code.</returns>
        public override int AddProjectReference()
        {
            try
            {
                this.ShowProjectInSolutionPage = false;
                return(WixProjectReferenceNode.AddProjectReference(this));
            }
            finally
            {
                this.ShowProjectInSolutionPage = true;
            }
        }