52 instantiations of TaskItem
Microsoft.Build (10)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
221items = projectItems?.GetCopyOnReadEnumerable(item => new DictionaryEntry(item.ItemType, new TaskItem(item))) ?? [];
BackEnd\Components\ProjectCache\CacheResult.cs (1)
133var taskItem = new ProjectItemInstance.TaskItem(taskItemInterface.EvaluatedIncludeEscaped, definingFileEscaped: null);
Instance\ProjectItemInstance.cs (8)
737_taskItem = new TaskItem( 1723return new TaskItem(translator); 1731return new TaskItem(translator, interner); 1906return new TaskItem(this, false); 1915var clone = new TaskItem(this, false); 2158return new TaskItem(includeEscaped, definingProject); 2176TaskItem item = new TaskItem(includeEscaped, definingProject); 2201TaskItem item = new TaskItem(baseItem);
Microsoft.Build.Engine.UnitTests (42)
BackEnd\BuildRequestEngine_Tests.cs (1)
163result.AddResultsForTarget(target, new TargetResult(new TaskItem[1] { new TaskItem("include", _entry.RequestConfiguration.ProjectFullPath) }, completeSuccess ? BuildResultUtilities.GetSuccessResult() : BuildResultUtilities.GetStopWithErrorResult()));
BackEnd\BuildResult_Tests.cs (1)
316TaskItem fooTaskItem = new TaskItem("foo", "asdf.proj");
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1495outputs.Add(new TaskItem("ItemInclude", projectFile));
BackEnd\NodePackets_Tests.cs (1)
250TaskItem item = new TaskItem("Hello", "my.proj");
BackEnd\TargetResult_Tests.cs (5)
40TaskItem item = new TaskItem("foo", "bar.proj"); 64TaskItem item = new TaskItem("foo", "bar.proj"); 78TaskItem item = new TaskItem("foo", "bar.proj"); 91TaskItem item = new TaskItem("foo", "bar.proj"); 115TaskItem item = new TaskItem("foo", "bar.proj");
BackEnd\TaskExecutionHost_Tests.cs (5)
1276_oneItem = new ITaskItem[] { new TaskItem(item) }; 1284_twoItems = new ITaskItem[] { new TaskItem(item), new TaskItem(item2) }; 1315Assert.Equal(0, TaskItemComparer.Instance.Compare(value, new TaskItem(_bucket.Lookup.GetItems("output").First()))); 1344Assert.Equal(0, TaskItemComparer.Instance.Compare(values[i], new TaskItem(_bucket.Lookup.GetItems("output").ElementAt(i))));
BackEnd\TaskHost_Tests.cs (1)
83buildResult.AddResultsForTarget("Build", new TargetResult(new TaskItem[] { new TaskItem("IamSuper", configuration.ProjectFullPath) }, BuildResultUtilities.GetSkippedResult()));
BuildResultUtilities.cs (1)
27return new TargetResult(new TaskItem[1] { new TaskItem("i", "v") }, BuildResultUtilities.GetSuccessResult());
ConsoleLogger_Tests.cs (3)
1666items.Add("type", (ITaskItem2)new TaskItem("spec", String.Empty)); 1667items.Add("type2", (ITaskItem2)new TaskItem("spec2", String.Empty)); 1670ITaskItem2 taskItem3 = new TaskItem("%28spec%3b3", String.Empty);
Definition\ItemDefinitionGroup_Tests.cs (5)
602ITaskItem noMetaItem = new TaskItem("NoMetaItem", pi.FullPath); 603withMetaItem = new TaskItem("WithMetaItem", "WithMetaItem", null, itemdefs, ".", false, pi.FullPath); 638ITaskItem noMetaItem = new TaskItem("NoMetaItem", pi.FullPath); 641withMetaItem = new TaskItem("WithMetaItem", "WithMetaItem", null, itemdefs, ".", false, pi.FullPath); 680ITaskItem noMetaItem = new TaskItem("NoMetaItem", pi.FullPath);
Instance\TaskItem_Tests.cs (16)
54TaskItem item = new TaskItem("foo", "bar.proj"); 73TaskItem left = new TaskItem("foo", "bar.proj"); 84TaskItem left = new TaskItem("foo", "bar.proj"); 85TaskItem right = new TaskItem("foo", "bar.proj"); 97TaskItem left = new TaskItem("foo", "bar.proj"); 99TaskItem right = new TaskItem("foo", "bar.proj"); 112TaskItem left = new TaskItem("foo", "bar.proj"); 114TaskItem right = new TaskItem("foo", "bar.proj"); 127TaskItem left = new TaskItem("foo", "bar.proj"); 129TaskItem right = new TaskItem("foo", "bar.proj"); 142TaskItem left = new TaskItem("foo", "bar.proj"); 144TaskItem right = new TaskItem("foo", "bar.proj"); 156TaskItem left = new TaskItem("foo", "bar.proj"); 158TaskItem right = new TaskItem("foo", "bar.proj"); 172TaskItem parent = new TaskItem("foo", "bar.proj"); 233return new TaskItem("foo", "foo", directMetadata, itemDefinitions, "dir", immutable: false, "bar.proj");
MockTask.cs (2)
360return new TaskItem("foo", String.Empty); 372return new TaskItem[] { new TaskItem("foo", String.Empty) };
191 references to TaskItem
Microsoft.Build (101)
BackEnd\Components\Communications\LogMessagePacket.cs (6)
8using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 51List<TaskItem> targetOutputs = null; 56targetOutputs = new List<TaskItem>(); 57foreach (TaskItem item in finishedEvent.TargetOutputs) 64translator.Translate<TaskItem>(ref targetOutputs, TaskItem.FactoryForDeserialization);
BackEnd\Components\Logging\ILoggingService.cs (2)
13using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 601void LogTargetFinished(BuildEventContext targetBuildEventContext, string targetName, string projectFile, string projectFileOfTargetElement, bool success, IEnumerable<TaskItem> targetOutputs);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
15using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 675public void LogTargetFinished(BuildEventContext targetBuildEventContext, string targetName, string projectFile, string projectFileOfTargetElement, bool success, IEnumerable<TaskItem> targetOutputs)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
13using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem;
BackEnd\Components\Logging\TargetLoggingContext.cs (8)
10using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 102internal void LogTargetBatchFinished(string projectFullPath, bool success, IEnumerable<TaskItem> targetOutputs) 137internal class TargetOutputItemsInstanceEnumeratorProxy : IEnumerable<TaskItem> 142private IEnumerable<TaskItem> _backingItems; 148internal TargetOutputItemsInstanceEnumeratorProxy(IEnumerable<TaskItem> backingItems) 156internal IEnumerable<TaskItem> BackingItems => _backingItems; 164public IEnumerator<TaskItem> GetEnumerator() 166foreach (TaskItem item in _backingItems)
BackEnd\Components\ProjectCache\CacheResult.cs (2)
131private static ProjectItemInstance.TaskItem CreateTaskItem(ITaskItem2 taskItemInterface) 133var taskItem = new ProjectItemInstance.TaskItem(taskItemInterface.EvaluatedIncludeEscaped, definingFileEscaped: null);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
18using ProjectItemInstanceFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.ProjectItemInstanceFactory;
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
18using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 271results[i] = new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null)); 293results[i] = new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null));
BackEnd\Components\RequestBuilder\TargetEntry.cs (10)
22using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 370Array.Empty<TaskItem>(), 578TaskItem[] targetOutputItems = Array.Empty<TaskItem>(); 632List<TaskItem> targetOutputItemsList = new(); 653targetOutputItems = new HashSet<TaskItem>(batchingBuckets[0].Expander.ExpandIntoTaskItemsLeaveEscaped(targetReturns, ExpanderOptions.ExpandAll, targetReturnsLocation)).ToArray(); 657HashSet<TaskItem> addedItems = new HashSet<TaskItem>(); 660IList<TaskItem> itemsToAdd = bucket.Expander.ExpandIntoTaskItemsLeaveEscaped(targetReturns, ExpanderOptions.ExpandAll, targetReturnsLocation); 732_targetResult = new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null));
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (1)
16using ProjectItemInstanceFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.ProjectItemInstanceFactory;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
26using ProjectItemInstanceFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.ProjectItemInstanceFactory;
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
25using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 1236clonedTaskItem[j] = ((TaskItem)resultEntry.Value.Items[j]).DeepClone();
BackEnd\Shared\TargetResult.cs (6)
13using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 42private TaskItem[] _items; 66internal TargetResult(TaskItem[] items, WorkUnitResult result, BuildEventContext originalBuildEventContext = null) 321foreach (TaskItem t in _items) 341_items = new TaskItem[itemsCount]; 344_items[i] = TaskItem.FactoryForDeserialization(itemTranslator, interner);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (12)
25using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 146private List<TaskItem> _remotedTaskItems; 291_remotedTaskItems = new List<TaskItem>(); 725private bool SetParameterArray(TaskPropertyInfo parameter, Type parameterType, IList<TaskItem> taskItems, ElementLocation parameterLocation) 727TaskItem currentItem = null; 736foreach (TaskItem item in taskItems) 755foreach (TaskItem item in taskItems) 792private void RecordItemForDisconnectIfNecessary(TaskItem item) 1148IList<TaskItem> finalTaskItems = _batchBucket.Expander.ExpandIntoTaskItemsLeaveEscaped(parameterValue, ExpanderOptions.ExpandAll, parameterLocation); 1267IList<TaskItem> finalTaskItems = _batchBucket.Expander.ExpandIntoTaskItemsLeaveEscaped(parameterValue, ExpanderOptions.ExpandAll, parameterLocation); 1388TaskItem outputAsProjectItem = output as TaskItem;
Evaluation\Conditionals\FunctionCallExpressionNode.cs (4)
10using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 126IList<TaskItem> items = state.ExpandIntoTaskItems(argument); 160IList<TaskItem> expanded = state.ExpandIntoTaskItems(argument); 171var item = expanded[i];
Evaluation\ConditionEvaluator.cs (3)
15using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 367IList<TaskItem> ExpandIntoTaskItems(string expression); 461public IList<TaskItem> ExpandIntoTaskItems(string expression)
Evaluation\Expander.cs (4)
27using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 28using TaskItemFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.TaskItemFactory; 542internal IList<TaskItem> ExpandIntoTaskItemsLeaveEscaped(string expression, ExpanderOptions options, IElementLocation elementLocation) 544return ExpandIntoItemsLeaveEscaped(expression, (IItemFactory<I, TaskItem>)TaskItemFactory.Instance, options, elementLocation);
Instance\ProjectInstance.cs (1)
32using ProjectItemInstanceFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.ProjectItemInstanceFactory;
Instance\ProjectItemInstance.cs (32)
59private TaskItem _taskItem; 595translator.Translate(ref _taskItem, TaskItem.FactoryForDeserialization); 758IEquatable<TaskItem>, 861private TaskItem(TaskItem source, bool addOriginalItemSpec) 1196public static explicit operator string(TaskItem that) 1207public static bool operator ==(TaskItem left, TaskItem right) 1227public static bool operator !=(TaskItem left, TaskItem right) 1425if (destinationItem is TaskItem destinationAsTaskItem && destinationAsTaskItem._directMetadata == null) 1589return this.Equals(obj as TaskItem); 1602public bool Equals(TaskItem other) 1721internal static TaskItem FactoryForDeserialization(ITranslator translator) 1729internal static TaskItem FactoryForDeserialization(ITranslator translator, LookasideStringInterner interner) 1903internal TaskItem DeepClone() 1912internal TaskItem DeepClone(bool isImmutable) 1915var clone = new TaskItem(this, false); 2110internal class TaskItemFactory : IItemFactory<ProjectItem, TaskItem>, IItemFactory<ProjectItemInstance, TaskItem> 2156public TaskItem CreateItem(string includeEscaped, string definingProject) 2164public TaskItem CreateItem(ProjectItem source, string definingProject) 2166TaskItem item = CreateItem(((IItem)source).EvaluatedIncludeEscaped, source, definingProject); 2174public TaskItem CreateItem(string includeEscaped, ProjectItem baseItem, string definingProject) 2176TaskItem item = new TaskItem(includeEscaped, definingProject); 2189public TaskItem CreateItem(ProjectItemInstance source, string definingProject) 2191TaskItem item = CreateItem(((IItem)source).EvaluatedIncludeEscaped, source, definingProject); 2199public TaskItem CreateItem(string includeEscaped, ProjectItemInstance baseItem, string definingProject) 2201TaskItem item = new TaskItem(baseItem); 2216public TaskItem CreateItem(string includeEscaped, string includeBeforeWildcardExpansionEscaped, string definingProject) 2224public void SetMetadata(IEnumerable<KeyValuePair<ProjectMetadataElement, string>> metadata, IEnumerable<TaskItem> destinationItems) 2247private TaskItem _item; 2252internal BuiltInMetadataTable(string itemType, TaskItem item)
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BatchingEngine_Tests.cs (1)
17using ProjectItemInstanceFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.ProjectItemInstanceFactory;
BackEnd\BuildRequestEngine_Tests.cs (2)
16using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 163result.AddResultsForTarget(target, new TargetResult(new TaskItem[1] { new TaskItem("include", _entry.RequestConfiguration.ProjectFullPath) }, completeSuccess ? BuildResultUtilities.GetSuccessResult() : BuildResultUtilities.GetStopWithErrorResult()));
BackEnd\BuildResult_Tests.cs (6)
15using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 101result.AddResultsForTarget("bar", new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, new Exception()))); 104result.AddResultsForTarget("baz", new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.GetStopWithErrorResult(new Exception()))); 316TaskItem fooTaskItem = new TaskItem("foo", "asdf.proj"); 323result.AddResultsForTarget("alpha", new TargetResult(new TaskItem[] { fooTaskItem }, BuildResultUtilities.GetSuccessResult())); 324result.AddResultsForTarget("omega", new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.GetStopWithErrorResult(new ArgumentException("The argument was invalid"))));
BackEnd\CacheSerialization_Tests.cs (5)
55Array.Empty<ProjectItemInstance.TaskItem>(), 60Array.Empty<ProjectItemInstance.TaskItem>(), 65Array.Empty<ProjectItemInstance.TaskItem>(), 71Array.Empty<ProjectItemInstance.TaskItem>(), 77Array.Empty<ProjectItemInstance.TaskItem>(),
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
22using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 1494List<TaskItem> outputs = new List<TaskItem>();
BackEnd\MockLoggingService.cs (2)
16using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 610public void LogTargetFinished(BuildEventContext targetBuildEventContext, string targetName, string projectFile, string projectFileOfTargetElement, bool success, IEnumerable<TaskItem> targetOutputs)
BackEnd\NodePackets_Tests.cs (4)
15using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 250TaskItem item = new TaskItem("Hello", "my.proj"); 251List<TaskItem> targetOutputs = new List<TaskItem>();
BackEnd\RequestBuilder_Tests.cs (2)
16using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 323return new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null));
BackEnd\Scheduler_Tests.cs (2)
16using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 777result.AddResultsForTarget(target, new TargetResult(Array.Empty<TaskItem>(), workUnitResult));
BackEnd\TargetResult_Tests.cs (12)
11using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 28TargetResult result = new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.GetStopWithErrorResult()); 40TaskItem item = new TaskItem("foo", "bar.proj"); 41TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.GetStopWithErrorResult()); 64TaskItem item = new TaskItem("foo", "bar.proj"); 65TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.GetStopWithErrorResult(new ArgumentException())); 78TaskItem item = new TaskItem("foo", "bar.proj"); 79TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.GetStopWithErrorResult()); 91TaskItem item = new TaskItem("foo", "bar.proj"); 96new TaskItem[] { item }, 115TaskItem item = new TaskItem("foo", "bar.proj"); 118TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.GetStopWithErrorResult(new BuildAbortedException()));
BackEnd\TaskExecutionHost_Tests.cs (1)
25using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem;
BackEnd\TaskHost_Tests.cs (6)
18using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 83buildResult.AddResultsForTarget("Build", new TargetResult(new TaskItem[] { new TaskItem("IamSuper", configuration.ProjectFullPath) }, BuildResultUtilities.GetSkippedResult())); 105TaskItem targetOutputItem = ((ITaskItem[])targetOutputs["Build"])[0] as TaskItem; 106TaskItem mockItemInCache = _mockRequestCallback.BuildResultsToReturn[0].ResultsByTarget["Build"].Items[0] as TaskItem;
BuildResultUtilities.cs (4)
7using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 17return new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.GetStopWithErrorResult()); 22return new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.GetSuccessResult()); 27return new TargetResult(new TaskItem[1] { new TaskItem("i", "v") }, BuildResultUtilities.GetSuccessResult());
ConsoleLogger_Tests.cs (1)
22using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem;
Definition\ItemDefinitionGroup_Tests.cs (1)
16using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem;
Evaluation\Expander_Tests.cs (9)
31using ProjectItemInstanceFactory = Microsoft.Build.Execution.ProjectItemInstance.TaskItem.ProjectItemInstanceFactory; 32using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 49IList<TaskItem> itemsOut = expander.ExpandIntoTaskItemsLeaveEscaped("", ExpanderOptions.ExpandProperties, null); 60IList<TaskItem> itemsOut = expander.ExpandIntoTaskItemsLeaveEscaped("foo", ExpanderOptions.ExpandProperties, MockElementLocation.Instance); 71IList<TaskItem> itemsOut = expander.ExpandIntoTaskItemsLeaveEscaped("foo;bar", ExpanderOptions.ExpandProperties, MockElementLocation.Instance); 102IList<TaskItem> itemsOut = expander.ExpandIntoTaskItemsLeaveEscaped("foo;bar;@(compile);@(resource)", ExpanderOptions.ExpandPropertiesAndItems, MockElementLocation.Instance); 123IList<TaskItem> itemsOut = expander.ExpandIntoTaskItemsLeaveEscaped("foo$(a);$(b);$(c)", ExpanderOptions.ExpandProperties, MockElementLocation.Instance); 1422IList<TaskItem> taskItems = expander.ExpandIntoTaskItemsLeaveEscaped( 1705internal ITaskItem[] GetTaskArrayFromItemList(IList<TaskItem> list)
Instance\TaskItem_Tests.cs (22)
18using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 54TaskItem item = new TaskItem("foo", "bar.proj"); 57TranslationHelpers.GetWriteTranslator().Translate(ref item, TaskItem.FactoryForDeserialization); 58TaskItem deserializedItem = null; 59TranslationHelpers.GetReadTranslator().Translate(ref deserializedItem, TaskItem.FactoryForDeserialization); 73TaskItem left = new TaskItem("foo", "bar.proj"); 84TaskItem left = new TaskItem("foo", "bar.proj"); 85TaskItem right = new TaskItem("foo", "bar.proj"); 97TaskItem left = new TaskItem("foo", "bar.proj"); 99TaskItem right = new TaskItem("foo", "bar.proj"); 112TaskItem left = new TaskItem("foo", "bar.proj"); 114TaskItem right = new TaskItem("foo", "bar.proj"); 127TaskItem left = new TaskItem("foo", "bar.proj"); 129TaskItem right = new TaskItem("foo", "bar.proj"); 142TaskItem left = new TaskItem("foo", "bar.proj"); 144TaskItem right = new TaskItem("foo", "bar.proj"); 156TaskItem left = new TaskItem("foo", "bar.proj"); 158TaskItem right = new TaskItem("foo", "bar.proj"); 172TaskItem parent = new TaskItem("foo", "bar.proj"); 176TaskItem clone = parent.DeepClone(); 189TaskItem item = BuildItem( 206static TaskItem BuildItem(
MockTask.cs (4)
9using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 356public TaskItem TaskItemOutputParameter 368public TaskItem[] TaskItemArrayOutputParameter 372return new TaskItem[] { new TaskItem("foo", String.Empty) };
Microsoft.Build.UnitTests.Shared (3)
BuildEventArgsExtension.cs (3)
7using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem; 355foreach (TaskItem item in args.TargetOutputs) 361foreach (TaskItem item in other.TargetOutputs)