10 references to TargetSpecification
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
156
targets.Add(new
TargetSpecification
(targetName, targetExists ? targetInstance.Location : _projectInstance.ProjectFileLocation));
276
targetToPush.Add(new
TargetSpecification
(targets[i], taskLocation));
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
401
dependencyTargets.Add(new
TargetSpecification
(dependencyTargetName, _target.DependsOnTargetsLocation));
717
allErrorTargets.Add(new
TargetSpecification
(errorTargetName, errorTargetInstance.ExecuteTargetsLocation));
Evaluation\Evaluator.cs (2)
1070
beforeTargetsForTarget.Add(new
TargetSpecification
(targetElement.Name, targetElement.BeforeTargetsLocation));
1093
afterTargetsForTarget.Add(new
TargetSpecification
(targetElement.Name, targetElement.AfterTargetsLocation));
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TargetEntry_Tests.cs (4)
100
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
("Empty", null), null, null, TargetBuiltReason.None, _host, false);
116
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
("Empty", null), lookup, null, TargetBuiltReason.None, null, false);
1028
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, false);
1044
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, false);