243 references to FullPath
Microsoft.Build (36)
BackEnd\BuildManager\BuildRequestData.cs (1)
59
: this(targetsToBuild, hostServices, flags, projectInstance.
FullPath
)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
540
projectFile: cacheRequest.Configuration.Project.
FullPath
);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
171
_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.RequestConfiguration.Project.
FullPath
, loggingContext.Target.Name, _taskNode.Name);
185
_projectFullPath = requestEntry.RequestConfiguration.Project.
FullPath
;
817
taskExecutionHost.ProjectInstance.
FullPath
),
1079
declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.
FullPath
));
BackEnd\Shared\BuildRequestConfiguration.cs (1)
223
_projectFullPath = instance.
FullPath
;
Construction\Solution\SolutionProjectGenerator.cs (3)
828
EmitMetaproject(instance.ToProjectRootElement(), instance.
FullPath
);
1218
new BuildEventFileInfo(traversalProject.
FullPath
),
1384
new BuildEventFileInfo(traversalProject.
FullPath
),
Graph\GraphBuilder.cs (12)
173
definingFileEscaped: currentNode.ProjectInstance.
FullPath
),
215
var projectPath = project.Value.GraphNode.ProjectInstance.
FullPath
;
247
referencedNode.ProjectInstance.
FullPath
,
248
referencingNode.ProjectInstance.
FullPath
);
489
FormatCircularDependencyError(new List<string> { node.ProjectInstance.
FullPath
, node.ProjectInstance.
FullPath
});
498
var projectsInCycle = new List<string> { referenceNode.ProjectInstance.
FullPath
};
508
if (loadReference.projectsInCycle[0].Equals(node.ProjectInstance.
FullPath
))
511
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
512
loadReference.projectsInCycle.Add(node.ProjectInstance.
FullPath
);
523
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
632
.Add(parsedProject.ProjectInstance.
FullPath
);
Graph\GraphBuildRequestData.cs (1)
202
yield return entryPoint.ProjectInstance.
FullPath
;
Graph\ProjectGraph.cs (2)
517
var nodeName = Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
);
691
ProjectGraphNode GetNodeForProject(ProjectInSolution project) => EntryPointNodes.First(node => string.Equals(node.ProjectInstance.
FullPath
, project.AbsolutePath));
Graph\ProjectGraphNode.cs (2)
51
var truncatedProjectFile = FileUtilities.TruncatePathToTrailingSegments(ProjectInstance.
FullPath
, 2);
88
return new ConfigurationMetadata(ProjectInstance.
FullPath
, ProjectInstance.GlobalPropertiesDictionary);
Graph\ProjectInterpretation.cs (5)
118
requesterInstance.
FullPath
));
187
var selectedPlatform = PlatformNegotiation.GetNearestPlatform(overridePlatformNegotiationMetadataValue, projectInstance.GetEngineRequiredPropertyValue(PlatformMetadataName), projectInstance.GetEngineRequiredPropertyValue(PlatformsMetadataName), projectInstance.GetEngineRequiredPropertyValue(PlatformLookupTableMetadataName), requesterInstance.GetEngineRequiredPropertyValue(PlatformLookupTableMetadataName), projectInstance.
FullPath
, requesterInstance.GetEngineRequiredPropertyValue(PlatformMetadataName));
231
ErrorUtilities.VerifyThrow(!(isOuterBuild && isInnerBuild), $"A project cannot be an outer and inner build at the same time: ${project.
FullPath
}");
296
includeEscaped: outerBuild.
FullPath
,
298
definingFileEscaped: outerBuild.
FullPath
);
Instance\ProjectInstance.cs (3)
2061
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, this.
FullPath
);
2084
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, metadata, this.
FullPath
);
3284
Trace.WriteLine($"MSBUILD: Creating a ProjectInstance from an unevaluated state [{
FullPath
}]");
Instance\ProjectItemInstance.cs (1)
364
get { return _project.
FullPath
; }
Microsoft.Build.Engine.UnitTests (198)
BackEnd\BatchingEngine_Tests.cs (16)
37
items.Add(new ProjectItemInstance(project, "File", "a.foo", project.
FullPath
));
38
items.Add(new ProjectItemInstance(project, "File", "b.foo", project.
FullPath
));
39
items.Add(new ProjectItemInstance(project, "File", "c.foo", project.
FullPath
));
40
items.Add(new ProjectItemInstance(project, "File", "d.foo", project.
FullPath
));
41
items.Add(new ProjectItemInstance(project, "File", "e.foo", project.
FullPath
));
45
items.Add(new ProjectItemInstance(project, "Doc", "a.doc", project.
FullPath
));
46
items.Add(new ProjectItemInstance(project, "Doc", "b.doc", project.
FullPath
));
47
items.Add(new ProjectItemInstance(project, "Doc", "c.doc", project.
FullPath
));
48
items.Add(new ProjectItemInstance(project, "Doc", "d.doc", project.
FullPath
));
49
items.Add(new ProjectItemInstance(project, "Doc", "e.doc", project.
FullPath
));
135
ProjectItemInstance a = new ProjectItemInstance(project, "File", "a.foo", project.
FullPath
);
136
ProjectItemInstance b = new ProjectItemInstance(project, "File", "b.foo", project.
FullPath
);
172
ProjectItemInstance a = new ProjectItemInstance(project, "File", "a.foo", project.
FullPath
);
174
ProjectItemInstance b = new ProjectItemInstance(project, "File", "b.foo", project.
FullPath
);
232
items.Add(new ProjectItemInstance(project, "File", "a.foo", project.
FullPath
));
233
items.Add(new ProjectItemInstance(project, "File", "b.foo", project.
FullPath
)); // Need at least two items for this test case to ensure multiple buckets might be possible
BackEnd\BuildManager_Tests.cs (6)
200
.ProjectInstance.
FullPath
,
4254
var node1 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project1, StringComparison.OrdinalIgnoreCase));
4258
var node2 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project2, StringComparison.OrdinalIgnoreCase));
4339
var node1 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project1, StringComparison.OrdinalIgnoreCase));
4343
var node2 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project2, StringComparison.OrdinalIgnoreCase));
4396
graph.GraphRoots.First().ProjectInstance.
FullPath
,
BackEnd\IntrinsicTask_Tests.cs (6)
3930
ProjectItemInstance item1 = new ProjectItemInstance(project, "i0", "a1", project.
FullPath
);
3931
ProjectItemInstance item2 = new ProjectItemInstance(project, "i0", "a2", project.
FullPath
);
3932
ProjectItemInstance item3 = new ProjectItemInstance(project, "i0", "a3", project.
FullPath
);
3933
ProjectItemInstance item4 = new ProjectItemInstance(project, "i0", "a4", project.
FullPath
);
3966
nodeContext.LogProjectStarted(entry).LogTargetBatchStarted(projectInstance.
FullPath
, projectInstance.Targets["t"], null, TargetBuiltReason.None),
4001
nodeContext.LogProjectStarted(entry).LogTargetBatchStarted(projectInstance.
FullPath
, projectInstance.Targets["t"], null, TargetBuiltReason.None),
BackEnd\Lookup_Tests.cs (46)
29
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
30
table1.Add(new ProjectItemInstance(project, "i2", "a%3b1", project.
FullPath
));
34
lookup.PopulateWithItem(new ProjectItemInstance(project, "i1", "a2", project.
FullPath
));
35
lookup.PopulateWithItem(new ProjectItemInstance(project, "i2", "a%282", project.
FullPath
));
51
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
52
table1.Add(new ProjectItemInstance(project, "i2", "a%3b1", project.
FullPath
));
84
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
108
lookup.AddNewItem(new ProjectItemInstance(project, "i1", "a2", project.
FullPath
));
154
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
157
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
165
new ProjectItemInstance(project, "i1", "a1", project.
FullPath
), // Should not get added
166
new ProjectItemInstance(project, "i1", "a2", project.
FullPath
), // Should get added
206
table1.Add(new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>("m1", "m1") }, project.
FullPath
));
207
table1.Add(new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>("m1", "m2") }, project.
FullPath
));
215
new ProjectItemInstance(project, "i1", "a1", project.
FullPath
), // Should get added
216
new ProjectItemInstance(project, "i1", "a2", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>( "m1", "m1") }, project.
FullPath
), // Should get added
217
new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>( "m1", "m1") }, project.
FullPath
), // Should not get added
218
new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>( "m1", "m3") }, project.
FullPath
), // Should get added
255
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a1", project.
FullPath
);
264
ProjectItemInstance item2 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
306
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
366
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
407
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
471
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
531
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
602
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
669
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
724
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
772
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
826
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
867
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
902
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
975
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1016
lookup.AddNewItem(new ProjectItemInstance(project, "x", "y", project.
FullPath
));
1030
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1079
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1134
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1169
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1306
var item = new ProjectItemInstance(project, itemType, $"item_{i}", project.
FullPath
);
1360
allItems.Add(new ProjectItemInstance(project, itemType, $"item_{i}", project.
FullPath
));
1367
phantoms.Add(new ProjectItemInstance(project, itemType, $"phantom_{i}", project.
FullPath
));
1422
var item = new ProjectItemInstance(project, itemType, sharedSpec, project.
FullPath
);
1467
var item = new ProjectItemInstance(project, itemType, $"item_{i}", project.
FullPath
);
1518
var item = new ProjectItemInstance(project, itemType, $"original_{i}", project.
FullPath
);
1527
phantomRemoves.Add(new ProjectItemInstance(project, itemType, $"phantom_{i}", project.
FullPath
));
1561
var item = new ProjectItemInstance(project, itemType, $"add_{i}", project.
FullPath
);
BackEnd\TargetUpToDateChecker_Tests.cs (11)
184
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
185
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
226
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
227
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
228
items.Add(new ProjectItemInstance(project, "Items", "c.cs", project.
FullPath
));
273
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
274
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
275
items.Add(new ProjectItemInstance(project, "Items", "c.cs", project.
FullPath
));
276
items.Add(new ProjectItemInstance(project, "MoreItems", "a.txt", project.
FullPath
));
277
items.Add(new ProjectItemInstance(project, "MoreItems", "b.txt", project.
FullPath
));
278
items.Add(new ProjectItemInstance(project, "MoreItems", "c.txt", project.
FullPath
));
BackEnd\TaskRegistry_Tests.cs (6)
2079
ProjectItemInstance iag = new ProjectItemInstance(project, "IntermediateAssembly", @"subdir1\engine.dll", project.
FullPath
);
2083
iag = new ProjectItemInstance(project, "IntermediateAssembly", @"subdir2\tasks.dll", project.
FullPath
);
2090
ProjectItemInstance fig = new ProjectItemInstance(project, "FirstItem" + i, "FirstValue" + i, project.
FullPath
);
2097
ProjectItemInstance sig = new ProjectItemInstance(project, "SecondItem" + i, "SecondValue" + i, project.
FullPath
);
2102
ProjectItemInstance tig = new ProjectItemInstance(project, "ThirdItem", "ThirdValue1", project.
FullPath
);
2106
ProjectItemInstance trig = new ProjectItemInstance(project, "ItemWithTrueItem", "true", project.
FullPath
);
Construction\SolutionProjectGenerator_Tests.cs (1)
1100
projectBravoMetaProject.ToProjectRootElement().Save(projectBravoMetaProject.
FullPath
);
Definition\ItemDefinitionGroup_Tests.cs (5)
602
ITaskItem noMetaItem = new TaskItem("NoMetaItem", pi.
FullPath
);
603
withMetaItem = new TaskItem("WithMetaItem", "WithMetaItem", null, itemdefs, ".", false, pi.
FullPath
);
638
ITaskItem noMetaItem = new TaskItem("NoMetaItem", pi.
FullPath
);
641
withMetaItem = new TaskItem("WithMetaItem", "WithMetaItem", null, itemdefs, ".", false, pi.
FullPath
);
680
ITaskItem noMetaItem = new TaskItem("NoMetaItem", pi.
FullPath
);
Evaluation\Expander_Tests.cs (19)
93
ig.Add(new ProjectItemInstance(project, "Compile", "foo.cs", project.
FullPath
));
94
ig.Add(new ProjectItemInstance(project, "Compile", "bar.cs", project.
FullPath
));
97
ig2.Add(new ProjectItemInstance(project, "Resource", "bing.resx", project.
FullPath
));
803
ProjectItemInstance pi = new ProjectItemInstance(project, "i", "i" + n.ToString(), project.
FullPath
);
847
ProjectItemInstance i0 = new ProjectItemInstance(project, "i", "i0", project.
FullPath
);
848
ProjectItemInstance i1 = new ProjectItemInstance(project, "i", "i1", project.
FullPath
);
1415
NativeMethodsShared.IsWindows ? @"subdir1\engine.dll" : "subdir1/engine.dll", project.
FullPath
);
1419
NativeMethodsShared.IsWindows ? @"subdir2\tasks.dll" : "subdir2/tasks.dll", project.
FullPath
);
1424
ProjectItemInstance i3 = new ProjectItemInstance(project, "Content", "splash.bmp", project.
FullPath
);
1429
ProjectItemInstance i4 = new ProjectItemInstance(project, "Resource", "string$(p).resx", project.
FullPath
);
1432
ProjectItemInstance i5 = new ProjectItemInstance(project, "Resource", "dialogs%253b.resx", project.
FullPath
);
1437
ProjectItemInstance i6 = new ProjectItemInstance(project, "Content", "about.bmp", project.
FullPath
);
1628
var item = new ProjectItemInstance(project, "ManyItems", $"ThisIsAFairlyLongFileName_{i}.bmp", project.
FullPath
);
1636
new ProjectItemInstance (project, "ManySpacesItem", "Foo", project.
FullPath
),
1637
new ProjectItemInstance (project, "ManySpacesItem", manySpaces, project.
FullPath
),
1638
new ProjectItemInstance (project, "ManySpacesItem", "Bar", project.
FullPath
),
1642
new ProjectItemInstance (project, "Exactly1024", "".PadLeft(1024), project.
FullPath
),
1643
new ProjectItemInstance (project, "Exactly1024", "Foo", project.
FullPath
),
3983
ig.Add(new ProjectItemInstance(project, "Compile", "fOo.Cs", project.
FullPath
));
Evaluation\ItemSpec_Tests.cs (1)
109
itemDictionary.Add(new ProjectItemInstance(dummyProject, itemType.Key, item, dummyProject.
FullPath
));
ExpressionTree_Tests.cs (17)
184
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
185
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
186
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
187
itemBag.Add(new ProjectItemInstance(parentProject, "Boolean", "true", parentProject.
FullPath
));
214
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
215
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
216
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
249
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
250
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
251
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
281
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "a", parentProject.
FullPath
));
298
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
299
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
300
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
327
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
328
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
329
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
ExpressionTreeExpression_Tests.cs (7)
375
itemBag.Add(new ProjectItemInstance(parentProject, "u", "a'b;c", parentProject.
FullPath
));
376
itemBag.Add(new ProjectItemInstance(parentProject, "v", "a", parentProject.
FullPath
));
377
itemBag.Add(new ProjectItemInstance(parentProject, "w", "1", parentProject.
FullPath
));
378
itemBag.Add(new ProjectItemInstance(parentProject, "x", "true", parentProject.
FullPath
));
379
itemBag.Add(new ProjectItemInstance(parentProject, "y", "xxx", parentProject.
FullPath
));
380
itemBag.Add(new ProjectItemInstance(parentProject, "z", "xxx", parentProject.
FullPath
));
381
itemBag.Add(new ProjectItemInstance(parentProject, "z", "yyy", parentProject.
FullPath
));
Graph\GraphTestingUtilities.cs (7)
69
.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.
FullPath
== outerBuild.ProjectInstance.
FullPath
)
139
return graph.ProjectNodes.Where(node => node.ProjectInstance.
FullPath
.EndsWith(projectNum + ".proj", StringComparison.Ordinal));
158
.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.
FullPath
.Equals(outerBuild.ProjectInstance.
FullPath
))
170
return Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
);
194
return node.ProjectInstance.
FullPath
;
Graph\ProjectGraph_Tests.cs (27)
67
projectGraph.ProjectNodes.First().ProjectInstance.
FullPath
.ShouldBe(entryProject.Path);
118
projectGraph.ProjectNodes.First().ProjectInstance.
FullPath
.ShouldBe(entryProject.Path);
410
GetFirstNodeWithProjectNumber(graph, 2).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("4.proj");
412
GetFirstNodeWithProjectNumber(graph, 3).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("4.proj");
539
GetFirstNodeWithProjectNumber(graph, 2).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("5.proj");
544
GetFirstNodeWithProjectNumber(graph, 4).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("5.proj");
611
entryPointNode1.ProjectInstance.
FullPath
.ShouldBe(entryPointNode2.ProjectInstance.
FullPath
);
619
entryPointNode1.ProjectReferences.First().ProjectInstance.
FullPath
.ShouldBe(entryPointNode2.ProjectReferences.First().ProjectInstance.
FullPath
);
650
entryPointNode1.ProjectInstance.
FullPath
.ShouldBe(entryPointNode2.ProjectInstance.
FullPath
);
863
projectGraph.EntryPointNodes.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project1Path, project2Path, project3Path, project6Path, project8Path }, ignoreOrder: true);
865
projectGraph.GraphRoots.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project1Path, project6Path }, ignoreOrder: true);
868
ProjectGraphNode project1Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project1Path);
872
project1Node.ProjectReferences.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project2Path, project3Path, project8Path }, ignoreOrder: true);
874
ProjectGraphNode project2Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project2Path);
878
project2Node.ProjectReferences.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project4Path }, ignoreOrder: true);
880
ProjectGraphNode project3Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project3Path);
884
project3Node.ProjectReferences.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project5Path }, ignoreOrder: true);
887
ProjectGraphNode project4Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project4Path);
893
ProjectGraphNode project5Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project5Path);
899
ProjectGraphNode project6Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project6Path);
905
Assert.DoesNotContain(projectGraph.ProjectNodes, node => node.ProjectInstance.
FullPath
== project7Path);
907
ProjectGraphNode project8Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project8Path);
2108
var referenceNumbersSet = innerBuildWithCommonReferences.ProjectReferences.Select(r => Path.GetFileNameWithoutExtension(r.ProjectInstance.
FullPath
)).ToHashSet();
2114
referenceNumbersSet = innerBuildWithAdditionalReferences.ProjectReferences.Select(r => Path.GetFileNameWithoutExtension(r.ProjectInstance.
FullPath
)).ToHashSet();
Graph\ResultCacheBasedBuilds_Tests.cs (4)
308
node.ProjectInstance.
FullPath
,
348
var rootNode = topoSortedNodes.First(n => Path.GetFileNameWithoutExtension(n.ProjectInstance.
FullPath
) == "1");
469
node.ProjectInstance.
FullPath
,
508
private static string ProjectNumber(ProjectGraphNode node) => Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
);
Instance\HostServices_Tests.cs (1)
394
hostServices.SetNodeAffinity(project.
FullPath
, NodeAffinity.InProc);
ProjectCache\ProjectCacheTests.cs (17)
519
var buildResult = buildSession.BuildProjectFile(node.ProjectInstance.
FullPath
);
555
logger.FullLog.ShouldNotContain($"EntryPoint: {graph.GraphRoots.First().ProjectInstance.
FullPath
}");
556
logger.FullLog.ShouldContain($"EntryPoint: {graph.GraphRoots.First().ProjectReferences.First().ProjectInstance.
FullPath
}");
602
node.ProjectInstance.
FullPath
,
623
var projectPath = node.ProjectInstance.
FullPath
;
653
var projectPath = node.ProjectInstance.
FullPath
;
715
r => buildSession.BuildProjectFileAsync(r.ProjectInstance.
FullPath
, globalProperties: globalProperties));
724
.BuildProjectFile(rootNode.ProjectInstance.
FullPath
, globalProperties: globalProperties)
813
mockLogger.FullLog.ShouldContain(string.Format(ResourceUtilities.GetResourceString("ProjectCacheQueryStartedWithDefaultTargets"), node.ProjectInstance.
FullPath
));
817
mockLogger.FullLog.ShouldContain(string.Format(ResourceUtilities.GetResourceString("ProjectCacheQueryStartedWithTargetNames"), node.ProjectInstance.
FullPath
, targets));
822
instanceMockCache.Requests.ShouldContain(r => r.ProjectFullPath.Equals(node.ProjectInstance.
FullPath
));
828
AssertBuildResultForCacheHit(node.ProjectInstance.
FullPath
, projectPathToBuildResults[node], expectedCacheResponse);
842
mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.
FullPath
}");
849
private static int GetProjectNumber(ProjectGraphNode node) => GetProjectNumber(node.ProjectInstance.
FullPath
);
1445
return buildSession.BuildProjectFileAsync(graph.ProjectNodes.First(n => GetProjectNumber(n) == projectNumber).ProjectInstance.
FullPath
);
1500
node.ProjectInstance.
FullPath
,
1515
buildSession.BuildProjectFile(graph.GraphRoots.First().ProjectInstance.
FullPath
).ShouldHaveSucceeded();
SolutionFileBuilder.cs (1)
96
n => n.ProjectInstance.
FullPath
),
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
Build\ProjectBuildManager.cs (3)
359
log.Add(string.Format(WorkspaceMSBuildBuildHostResources.Project_does_not_contain_0_target, target), projectInstance.
FullPath
);
373
_batchBuildLogger?.SetProjectAndLog(projectInstance.
FullPath
, log);
383
log.Add(result.Exception, projectInstance.
FullPath
);
MSBuild\ProjectFile\Extensions.cs (1)
40
var baseDirectory = PathUtilities.GetDirectoryName(project.
FullPath
);
MSBuild\ProjectFile\ProjectInstanceReader.cs (3)
34
_projectDirectory = PathUtilities.EnsureTrailingSeparator(PathUtilities.GetDirectoryName(_projectInstance.
FullPath
));
38
=> _projectInstance.
FullPath
;
120
FilePath = _projectInstance.
FullPath
,
MSBuild (1)
XMake.cs (1)
1661
nodeResultKvp.Key.ProjectInstance.
FullPath
.Equals(entryPoint.ProjectFile) &&
MSBuild.Benchmarks (1)
LookupGetItemsBenchmark.cs (1)
65
var item = new ProjectItemInstance(_project, ItemType, include, _project.
FullPath
);