10 references to TargetSpecification
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
156
targets.Add(new
TargetSpecification
(targetName.name, targetExists ? targetInstance.Location : _projectInstance.ProjectFileLocation, targetName.reason));
276
targetToPush.Add(new
TargetSpecification
(targets[i], taskLocation));
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
409
dependencyTargets.Add(new
TargetSpecification
(dependencyTargetName, _target.DependsOnTargetsLocation));
723
allErrorTargets.Add(new
TargetSpecification
(errorTargetName, errorTargetInstance.ExecuteTargetsLocation));
Evaluation\Evaluator.cs (2)
1072
beforeTargetsForTarget.Add(new
TargetSpecification
(targetElement.Name, targetElement.BeforeTargetsLocation));
1095
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, null, false);
116
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
1031
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
1047
TargetEntry entry = new TargetEntry(requestEntry, this, new
TargetSpecification
(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);