Example #1
0
        //==========================================================================================
        // Methods
        //==========================================================================================

        #region ISpecifyPropertyPages Implementation
        //==========================================================================================
        // ISpecifyPropertyPages Implementation
        //==========================================================================================

        void ISpecifyPropertyPages.GetPages(CAUUID[] pages)
        {
            Tracer.VerifyNonEmptyArrayArgument(pages, "pages");

            pages[0]        = new CAUUID();
            pages[0].cElems = 0;

            // Get the property pages that the project supports
            if (this.ShouldTriggerPropertyPages)
            {
#if !VS_2003 // TODO: On VS 2003, we get an error when showing a property page, saying something like "There is not enough storage space to complete the current operation."
                Guid[] propertyPageGuids = this.Node.Hierarchy.AttachedProject.CommonPropertyPageGuids;
                pages[0] = PackageUtility.CreateCAUUIDFromGuidArray(propertyPageGuids);
#endif
            }
        }