From 2724cfee4c163f3297ee25edfd2372767cfd4945 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 19 Jul 2018 00:58:00 -0700 Subject: Move tool projects to Tools repo --- src/WixToolset.BuildTasks/TaskBase.cs | 65 ----------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 src/WixToolset.BuildTasks/TaskBase.cs (limited to 'src/WixToolset.BuildTasks/TaskBase.cs') diff --git a/src/WixToolset.BuildTasks/TaskBase.cs b/src/WixToolset.BuildTasks/TaskBase.cs deleted file mode 100644 index 3d58fc06..00000000 --- a/src/WixToolset.BuildTasks/TaskBase.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. - -namespace WixToolset.BuildTasks -{ - using Microsoft.Build.Utilities; - - public abstract class TaskBase : Task - { - public string ToolPath { get; set; } - - public string AdditionalOptions { get; set; } - - public bool RunAsSeparateProcess { get; set; } - - /// - /// Gets or sets whether all warnings should be suppressed. - /// - public bool SuppressAllWarnings { get; set; } - - /// - /// Gets or sets a list of specific warnings to be suppressed. - /// - public string[] SuppressSpecificWarnings { get; set; } - - /// - /// Gets or sets whether all warnings should be treated as errors. - /// - public bool TreatWarningsAsErrors { get; set; } - - /// - /// Gets or sets a list of specific warnings to treat as errors. - /// - public string[] TreatSpecificWarningsAsErrors { get; set; } - - /// - /// Gets or sets whether to display verbose output. - /// - public bool VerboseOutput { get; set; } - - /// - /// Gets or sets whether to display the logo. - /// - public bool NoLogo { get; set; } - - public override bool Execute() - { - try - { - this.ExecuteCore(); - } - catch (BuildException e) - { - this.Log.LogErrorFromException(e); - } - catch (Data.WixException e) - { - this.Log.LogErrorFromException(e); - } - - return !this.Log.HasLoggedErrors; - } - - protected abstract void ExecuteCore(); - } -} -- cgit v1.2.3-55-g6feb