//==========================================================================================
        // Methods
        //==========================================================================================

        public new WixProjectConfiguration Clone(string newName)
        {
            WixProjectConfiguration clonedCopy = new WixProjectConfiguration(this.Project, newName);

            this.CloneInto(clonedCopy);
            return(clonedCopy);
        }
        protected override void CloneInto(ProjectConfiguration clonedCopy)
        {
            Tracer.Assert(clonedCopy is WixProjectConfiguration, "We shouldn't be cloning something we're not.");
            base.CloneInto(clonedCopy);
            WixProjectConfiguration wixClonedCopy = clonedCopy as WixProjectConfiguration;

            if (wixClonedCopy != null)
            {
                wixClonedCopy.candleSettings = (CandleSettings)this.candleSettings.Clone();
                wixClonedCopy.lightSettings  = (LightSettings)this.lightSettings.Clone();
            }
        }
 //==========================================================================================
 // Constructors
 //==========================================================================================
 public WixBuildableProjectConfiguration(WixProjectConfiguration projectConfiguration)
     : base(projectConfiguration)
 {
 }
Exemple #4
0
        //==========================================================================================
        // Constructors
        //==========================================================================================

        public WixBuildableProjectConfiguration(WixProjectConfiguration projectConfiguration) : base(projectConfiguration)
        {
        }
 //==========================================================================================
 // Methods
 //==========================================================================================
 public new WixProjectConfiguration Clone(string newName)
 {
     WixProjectConfiguration clonedCopy = new WixProjectConfiguration(this.Project, newName);
     this.CloneInto(clonedCopy);
     return clonedCopy;
 }