18 references to Location
Microsoft.Build (13)
BackEnd\Components\Logging\TargetLoggingContext.cs (2)
53
projectLoggingContext.BuildEventContext, target.Name, projectFullPath, target.
Location
.File,
114
LoggingService.LogTargetFinished(BuildEventContext, _target.Name, projectFullPath, _target.
Location
.File, success, targetOutputWrapper);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
156
targets.Add(new TargetSpecification(targetName.name, targetExists ? targetInstance.
Location
: _projectInstance.ProjectFileLocation, targetName.reason));
563
TargetFile = currentTargetEntry.Target.
Location
.File,
BackEnd\Components\RequestBuilder\TargetEntry.cs (3)
390
TargetFile = _target.
Location
.File,
431
List<ItemBucket> buckets = BatchingEngine.PrepareBatchingBuckets(GetBatchableParametersForTarget(), _baseLookup, _target.
Location
, null);
628
List<ItemBucket> batchingBuckets = BatchingEngine.PrepareBatchingBuckets(GetBatchableParametersForTarget(), _baseLookup, _target.
Location
, targetLoggingContext);
Construction\Solution\SolutionProjectGenerator.cs (5)
1017
if (traversalInstance.Targets[targetName].
Location
.File == traversalProject.FullPath)
2411
initialTarget.
Location
,
2412
initialTarget.
Location
);
2416
initialTarget.
Location
,
2417
initialTarget.
Location
,
Evaluation\Evaluator.cs (1)
1039
_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.
Location
.File, targetName, targetElement.Location.File);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (2)
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);
Instance\ProjectInstance_Internal_Tests.cs (1)
800
targetInstance.
Location
.ShouldBe(projectInstance.ProjectFileLocation);
TestComparers\ProjectInstanceModelTestComparers.cs (2)
94
Assert.Equal(x.
Location
, y.
Location
, new Helpers.ElementLocationComparerIgnoringType());