/// /// Copyright © 2003-2008 JetBrains s.r.o. /// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder). /// using System.Collections.Generic; using Microsoft.Build.Framework; namespace JetBrains.Build.Omea.Infra { /// /// Implements a task that requites paths to product assemblies and Windows Installer XML. /// public abstract class WixAndProductTask : ProductTask { #region Attributes /// /// Gets or sets the folder where the Windows Installer XML binaries are located. /// [Required] public ITaskItem WixBinariesDir { get { return Bag.Get(AttributeName.WixBinariesDir); } set { Bag.Set(AttributeName.WixBinariesDir, value); } } #endregion #region Overrides /// /// Gets the list of attributes that must contain the probing directories. /// protected override ICollection ProbingDirectoryAttributes { get { var retval = new List(base.ProbingDirectoryAttributes); retval.Add(AttributeName.WixBinariesDir); return retval; } } #endregion } }