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 --- .../CreateItemAvoidingInference.cs | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 src/WixToolset.BuildTasks/CreateItemAvoidingInference.cs (limited to 'src/WixToolset.BuildTasks/CreateItemAvoidingInference.cs') diff --git a/src/WixToolset.BuildTasks/CreateItemAvoidingInference.cs b/src/WixToolset.BuildTasks/CreateItemAvoidingInference.cs deleted file mode 100644 index 84816cac..00000000 --- a/src/WixToolset.BuildTasks/CreateItemAvoidingInference.cs +++ /dev/null @@ -1,60 +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 System; - using System.Collections; - using System.Collections.Generic; - using System.Globalization; - using System.IO; - using System.Xml; - using Microsoft.Build.Framework; - using Microsoft.Build.Utilities; - - /// - /// This task assigns Culture metadata to files based on the value of the Culture attribute on the - /// WixLocalization element inside the file. - /// - public class CreateItemAvoidingInference : Task - { - private string inputProperties; - private ITaskItem[] outputItems; - - /// - /// The output items. - /// - [Output] - public ITaskItem[] OuputItems - { - get { return this.outputItems; } - } - - /// - /// The properties to converty to items. - /// - [Required] - public string InputProperties - { - get { return this.inputProperties; } - set { this.inputProperties = value; } - } - - /// - /// Gets a complete list of external cabs referenced by the given installer database file. - /// - /// True upon completion of the task execution. - public override bool Execute() - { - List newItems = new List(); - - foreach (string property in this.inputProperties.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)) - { - newItems.Add(new TaskItem(property)); - } - - this.outputItems = newItems.ToArray(); - - return true; - } - } -} -- cgit v1.2.3-55-g6feb