233 references to FullPath
Microsoft.Build (35)
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
;
803
taskExecutionHost.ProjectInstance.
FullPath
),
1065
declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.
FullPath
));
BackEnd\Shared\BuildRequestConfiguration.cs (1)
217
_projectFullPath = instance.
FullPath
;
Construction\Solution\SolutionProjectGenerator.cs (3)
781
EmitMetaproject(instance.ToProjectRootElement(), instance.
FullPath
);
1171
new BuildEventFileInfo(traversalProject.
FullPath
),
1327
new BuildEventFileInfo(traversalProject.
FullPath
),
Graph\GraphBuilder.cs (11)
165
definingFileEscaped: currentNode.ProjectInstance.
FullPath
),
207
var projectPath = project.Value.GraphNode.ProjectInstance.
FullPath
;
239
referencedNode.ProjectInstance.
FullPath
,
240
referencingNode.ProjectInstance.
FullPath
);
481
FormatCircularDependencyError(new List<string> { node.ProjectInstance.
FullPath
, node.ProjectInstance.
FullPath
});
490
var projectsInCycle = new List<string> { referenceNode.ProjectInstance.
FullPath
};
500
if (loadReference.projectsInCycle[0].Equals(node.ProjectInstance.
FullPath
))
503
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
504
loadReference.projectsInCycle.Add(node.ProjectInstance.
FullPath
);
515
loadReference.projectsInCycle.Add(referenceNode.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)
2045
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, this.
FullPath
);
2068
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, metadata, this.
FullPath
);
3268
Trace.WriteLine($"MSBUILD: Creating a ProjectInstance from an unevaluated state [{
FullPath
}]");
Instance\ProjectItemInstance.cs (1)
364
get { return _project.
FullPath
; }
Microsoft.Build.Engine.UnitTests (190)
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)
201
.ProjectInstance.
FullPath
,
4255
var node1 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project1, StringComparison.OrdinalIgnoreCase));
4259
var node2 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project2, StringComparison.OrdinalIgnoreCase));
4340
var node1 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project1, StringComparison.OrdinalIgnoreCase));
4344
var node2 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project2, StringComparison.OrdinalIgnoreCase));
4397
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 (38)
28
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
29
table1.Add(new ProjectItemInstance(project, "i2", "a%3b1", project.
FullPath
));
33
lookup.PopulateWithItem(new ProjectItemInstance(project, "i1", "a2", project.
FullPath
));
34
lookup.PopulateWithItem(new ProjectItemInstance(project, "i2", "a%282", project.
FullPath
));
50
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
51
table1.Add(new ProjectItemInstance(project, "i2", "a%3b1", project.
FullPath
));
83
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
107
lookup.AddNewItem(new ProjectItemInstance(project, "i1", "a2", project.
FullPath
));
153
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
156
table1.Add(new ProjectItemInstance(project, "i1", "a1", project.
FullPath
));
164
new ProjectItemInstance(project, "i1", "a1", project.
FullPath
), // Should not get added
165
new ProjectItemInstance(project, "i1", "a2", project.
FullPath
), // Should get added
205
table1.Add(new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>("m1", "m1") }, project.
FullPath
));
206
table1.Add(new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>("m1", "m2") }, project.
FullPath
));
214
new ProjectItemInstance(project, "i1", "a1", project.
FullPath
), // Should get added
215
new ProjectItemInstance(project, "i1", "a2", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>( "m1", "m1") }, project.
FullPath
), // Should get added
216
new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>( "m1", "m1") }, project.
FullPath
), // Should not get added
217
new ProjectItemInstance(project, "i1", "a1", new KeyValuePair<string, string>[] { new KeyValuePair<string, string>( "m1", "m3") }, project.
FullPath
), // Should get added
254
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a1", project.
FullPath
);
263
ProjectItemInstance item2 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
305
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
365
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
406
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
470
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
530
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
601
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
668
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
723
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
771
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
825
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
866
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
901
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
974
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1015
lookup.AddNewItem(new ProjectItemInstance(project, "x", "y", project.
FullPath
));
1029
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1078
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1133
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
1168
ProjectItemInstance item1 = new ProjectItemInstance(project, "i1", "a2", project.
FullPath
);
BackEnd\TargetUpToDateChecker_Tests.cs (11)
182
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
183
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
224
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
225
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
226
items.Add(new ProjectItemInstance(project, "Items", "c.cs", project.
FullPath
));
271
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
272
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
273
items.Add(new ProjectItemInstance(project, "Items", "c.cs", project.
FullPath
));
274
items.Add(new ProjectItemInstance(project, "MoreItems", "a.txt", project.
FullPath
));
275
items.Add(new ProjectItemInstance(project, "MoreItems", "b.txt", project.
FullPath
));
276
items.Add(new ProjectItemInstance(project, "MoreItems", "c.txt", project.
FullPath
));
BackEnd\TaskRegistry_Tests.cs (6)
2080
ProjectItemInstance iag = new ProjectItemInstance(project, "IntermediateAssembly", @"subdir1\engine.dll", project.
FullPath
);
2084
iag = new ProjectItemInstance(project, "IntermediateAssembly", @"subdir2\tasks.dll", project.
FullPath
);
2091
ProjectItemInstance fig = new ProjectItemInstance(project, "FirstItem" + i, "FirstValue" + i, project.
FullPath
);
2098
ProjectItemInstance sig = new ProjectItemInstance(project, "SecondItem" + i, "SecondValue" + i, project.
FullPath
);
2103
ProjectItemInstance tig = new ProjectItemInstance(project, "ThirdItem", "ThirdValue1", project.
FullPath
);
2107
ProjectItemInstance trig = new ProjectItemInstance(project, "ItemWithTrueItem", "true", project.
FullPath
);
Construction\SolutionProjectGenerator_Tests.cs (1)
1101
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)
87
ig.Add(new ProjectItemInstance(project, "Compile", "foo.cs", project.
FullPath
));
88
ig.Add(new ProjectItemInstance(project, "Compile", "bar.cs", project.
FullPath
));
91
ig2.Add(new ProjectItemInstance(project, "Resource", "bing.resx", project.
FullPath
));
797
ProjectItemInstance pi = new ProjectItemInstance(project, "i", "i" + n.ToString(), project.
FullPath
);
841
ProjectItemInstance i0 = new ProjectItemInstance(project, "i", "i0", project.
FullPath
);
842
ProjectItemInstance i1 = new ProjectItemInstance(project, "i", "i1", project.
FullPath
);
1409
NativeMethodsShared.IsWindows ? @"subdir1\engine.dll" : "subdir1/engine.dll", project.
FullPath
);
1413
NativeMethodsShared.IsWindows ? @"subdir2\tasks.dll" : "subdir2/tasks.dll", project.
FullPath
);
1418
ProjectItemInstance i3 = new ProjectItemInstance(project, "Content", "splash.bmp", project.
FullPath
);
1423
ProjectItemInstance i4 = new ProjectItemInstance(project, "Resource", "string$(p).resx", project.
FullPath
);
1426
ProjectItemInstance i5 = new ProjectItemInstance(project, "Resource", "dialogs%253b.resx", project.
FullPath
);
1431
ProjectItemInstance i6 = new ProjectItemInstance(project, "Content", "about.bmp", project.
FullPath
);
1622
var item = new ProjectItemInstance(project, "ManyItems", $"ThisIsAFairlyLongFileName_{i}.bmp", project.
FullPath
);
1630
new ProjectItemInstance (project, "ManySpacesItem", "Foo", project.
FullPath
),
1631
new ProjectItemInstance (project, "ManySpacesItem", manySpaces, project.
FullPath
),
1632
new ProjectItemInstance (project, "ManySpacesItem", "Bar", project.
FullPath
),
1636
new ProjectItemInstance (project, "Exactly1024", "".PadLeft(1024), project.
FullPath
),
1637
new ProjectItemInstance (project, "Exactly1024", "Foo", project.
FullPath
),
3977
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)
376
itemBag.Add(new ProjectItemInstance(parentProject, "u", "a'b;c", parentProject.
FullPath
));
377
itemBag.Add(new ProjectItemInstance(parentProject, "v", "a", parentProject.
FullPath
));
378
itemBag.Add(new ProjectItemInstance(parentProject, "w", "1", parentProject.
FullPath
));
379
itemBag.Add(new ProjectItemInstance(parentProject, "x", "true", parentProject.
FullPath
));
380
itemBag.Add(new ProjectItemInstance(parentProject, "y", "xxx", parentProject.
FullPath
));
381
itemBag.Add(new ProjectItemInstance(parentProject, "z", "xxx", parentProject.
FullPath
));
382
itemBag.Add(new ProjectItemInstance(parentProject, "z", "yyy", parentProject.
FullPath
));
Graph\GraphTestingUtilities.cs (7)
68
.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.
FullPath
== outerBuild.ProjectInstance.
FullPath
)
138
return graph.ProjectNodes.Where(node => node.ProjectInstance.
FullPath
.EndsWith(projectNum + ".proj"));
157
.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.
FullPath
.Equals(outerBuild.ProjectInstance.
FullPath
))
169
return Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
);
193
return node.ProjectInstance.
FullPath
;
Graph\ProjectGraph_Tests.cs (27)
68
projectGraph.ProjectNodes.First().ProjectInstance.
FullPath
.ShouldBe(entryProject.Path);
119
projectGraph.ProjectNodes.First().ProjectInstance.
FullPath
.ShouldBe(entryProject.Path);
411
GetFirstNodeWithProjectNumber(graph, 2).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("4.proj");
413
GetFirstNodeWithProjectNumber(graph, 3).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("4.proj");
540
GetFirstNodeWithProjectNumber(graph, 2).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("5.proj");
545
GetFirstNodeWithProjectNumber(graph, 4).ProjectReferences.First().ProjectInstance.
FullPath
.ShouldEndWith("5.proj");
612
entryPointNode1.ProjectInstance.
FullPath
.ShouldBe(entryPointNode2.ProjectInstance.
FullPath
);
620
entryPointNode1.ProjectReferences.First().ProjectInstance.
FullPath
.ShouldBe(entryPointNode2.ProjectReferences.First().ProjectInstance.
FullPath
);
651
entryPointNode1.ProjectInstance.
FullPath
.ShouldBe(entryPointNode2.ProjectInstance.
FullPath
);
864
projectGraph.EntryPointNodes.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project1Path, project2Path, project3Path, project6Path, project8Path }, ignoreOrder: true);
866
projectGraph.GraphRoots.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project1Path, project6Path }, ignoreOrder: true);
869
ProjectGraphNode project1Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project1Path);
873
project1Node.ProjectReferences.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project2Path, project3Path, project8Path }, ignoreOrder: true);
875
ProjectGraphNode project2Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project2Path);
879
project2Node.ProjectReferences.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project4Path }, ignoreOrder: true);
881
ProjectGraphNode project3Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project3Path);
885
project3Node.ProjectReferences.Select(node => node.ProjectInstance.
FullPath
).ShouldBe(new[] { project5Path }, ignoreOrder: true);
888
ProjectGraphNode project4Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project4Path);
894
ProjectGraphNode project5Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project5Path);
900
ProjectGraphNode project6Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project6Path);
906
Assert.DoesNotContain(projectGraph.ProjectNodes, node => node.ProjectInstance.
FullPath
== project7Path);
908
ProjectGraphNode project8Node = projectGraph.ProjectNodes.Single(node => node.ProjectInstance.
FullPath
== project8Path);
2109
var referenceNumbersSet = innerBuildWithCommonReferences.ProjectReferences.Select(r => Path.GetFileNameWithoutExtension(r.ProjectInstance.
FullPath
)).ToHashSet();
2115
referenceNumbersSet = innerBuildWithAdditionalReferences.ProjectReferences.Select(r => Path.GetFileNameWithoutExtension(r.ProjectInstance.
FullPath
)).ToHashSet();
Graph\ResultCacheBasedBuilds_Tests.cs (4)
309
node.ProjectInstance.
FullPath
,
349
var rootNode = topoSortedNodes.First(n => Path.GetFileNameWithoutExtension(n.ProjectInstance.
FullPath
) == "1");
470
node.ProjectInstance.
FullPath
,
509
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)
520
var buildResult = buildSession.BuildProjectFile(node.ProjectInstance.
FullPath
);
556
logger.FullLog.ShouldNotContain($"EntryPoint: {graph.GraphRoots.First().ProjectInstance.
FullPath
}");
557
logger.FullLog.ShouldContain($"EntryPoint: {graph.GraphRoots.First().ProjectReferences.First().ProjectInstance.
FullPath
}");
603
node.ProjectInstance.
FullPath
,
624
var projectPath = node.ProjectInstance.
FullPath
;
654
var projectPath = node.ProjectInstance.
FullPath
;
716
r => buildSession.BuildProjectFileAsync(r.ProjectInstance.
FullPath
, globalProperties: globalProperties));
725
.BuildProjectFile(rootNode.ProjectInstance.
FullPath
, globalProperties: globalProperties)
814
mockLogger.FullLog.ShouldContain(string.Format(ResourceUtilities.GetResourceString("ProjectCacheQueryStartedWithDefaultTargets"), node.ProjectInstance.
FullPath
));
818
mockLogger.FullLog.ShouldContain(string.Format(ResourceUtilities.GetResourceString("ProjectCacheQueryStartedWithTargetNames"), node.ProjectInstance.
FullPath
, targets));
823
instanceMockCache.Requests.ShouldContain(r => r.ProjectFullPath.Equals(node.ProjectInstance.
FullPath
));
829
AssertBuildResultForCacheHit(node.ProjectInstance.
FullPath
, projectPathToBuildResults[node], expectedCacheResponse);
843
mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.
FullPath
}");
850
private static int GetProjectNumber(ProjectGraphNode node) => GetProjectNumber(node.ProjectInstance.
FullPath
);
1446
return buildSession.BuildProjectFileAsync(graph.ProjectNodes.First(n => GetProjectNumber(n) == projectNumber).ProjectInstance.
FullPath
);
1501
node.ProjectInstance.
FullPath
,
1516
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)
344
log.Add(string.Format(WorkspaceMSBuildBuildHostResources.Project_does_not_contain_0_target, target), projectInstance.
FullPath
);
358
_batchBuildLogger?.SetProjectAndLog(projectInstance.
FullPath
, log);
368
log.Add(result.Exception, projectInstance.
FullPath
);
MSBuild\ProjectFile\Extensions.cs (1)
42
var baseDirectory = PathUtilities.GetDirectoryName(project.
FullPath
);
MSBuild\ProjectFile\ProjectInstanceReader.cs (3)
35
_projectDirectory = PathUtilities.EnsureTrailingSeparator(PathUtilities.GetDirectoryName(_projectInstance.
FullPath
));
39
=> _projectInstance.
FullPath
;
118
FilePath = _projectInstance.
FullPath
,
MSBuild (1)
XMake.cs (1)
1661
nodeResultKvp.Key.ProjectInstance.
FullPath
.Equals(entryPoint.ProjectFile) &&