231 references to FullPath
Microsoft.Build (35)
BackEnd\BuildManager\BuildRequestData.cs (1)
65
: this(targetsToBuild, hostServices, flags, projectInstance.
FullPath
)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
462
projectFile: cacheRequest.Configuration.Project.
FullPath
);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
167
_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.RequestConfiguration.Project.
FullPath
, loggingContext.Target.Name, _taskNode.Name);
170
_projectFullPath = requestEntry.RequestConfiguration.Project.
FullPath
;
776
taskExecutionHost.ProjectInstance.
FullPath
),
1038
declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.
FullPath
));
BackEnd\Shared\BuildRequestConfiguration.cs (1)
215
_projectFullPath = instance.
FullPath
;
Construction\Solution\SolutionProjectGenerator.cs (3)
781
EmitMetaproject(instance.ToProjectRootElement(), instance.
FullPath
);
1158
new BuildEventFileInfo(traversalProject.
FullPath
),
1314
new BuildEventFileInfo(traversalProject.
FullPath
),
Graph\GraphBuilder.cs (11)
164
definingFileEscaped: currentNode.ProjectInstance.
FullPath
),
206
var projectPath = project.Value.GraphNode.ProjectInstance.
FullPath
;
238
referencedNode.ProjectInstance.
FullPath
,
239
referencingNode.ProjectInstance.
FullPath
);
480
FormatCircularDependencyError(new List<string> { node.ProjectInstance.
FullPath
, node.ProjectInstance.
FullPath
});
489
var projectsInCycle = new List<string> { referenceNode.ProjectInstance.
FullPath
};
499
if (loadReference.projectsInCycle[0].Equals(node.ProjectInstance.
FullPath
))
502
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
503
loadReference.projectsInCycle.Add(node.ProjectInstance.
FullPath
);
514
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
Graph\GraphBuildRequestData.cs (1)
201
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)
53
var truncatedProjectFile = FileUtilities.TruncatePathToTrailingSegments(ProjectInstance.
FullPath
, 2);
90
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)
1953
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, this.
FullPath
);
1976
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, metadata, this.
FullPath
);
3164
Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Creating a ProjectInstance from an unevaluated state [{0}]",
FullPath
));
Instance\ProjectItemInstance.cs (1)
356
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
,
4211
var node1 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project1, StringComparison.OrdinalIgnoreCase));
4215
var node2 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project2, StringComparison.OrdinalIgnoreCase));
4296
var node1 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project1, StringComparison.OrdinalIgnoreCase));
4300
var node2 = graph.ProjectNodes.First(node => node.ProjectInstance.
FullPath
.Equals(project2, StringComparison.OrdinalIgnoreCase));
4353
graph.GraphRoots.First().ProjectInstance.
FullPath
,
BackEnd\IntrinsicTask_Tests.cs (6)
3926
ProjectItemInstance item1 = new ProjectItemInstance(project, "i0", "a1", project.
FullPath
);
3927
ProjectItemInstance item2 = new ProjectItemInstance(project, "i0", "a2", project.
FullPath
);
3928
ProjectItemInstance item3 = new ProjectItemInstance(project, "i0", "a3", project.
FullPath
);
3929
ProjectItemInstance item4 = new ProjectItemInstance(project, "i0", "a4", project.
FullPath
);
3962
nodeContext.LogProjectStarted(entry).LogTargetBatchStarted(projectInstance.
FullPath
, projectInstance.Targets["t"], null, TargetBuiltReason.None),
3997
nodeContext.LogProjectStarted(entry).LogTargetBatchStarted(projectInstance.
FullPath
, projectInstance.Targets["t"], null, TargetBuiltReason.None),
BackEnd\Lookup_Tests.cs (38)
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
);
BackEnd\TargetUpToDateChecker_Tests.cs (11)
183
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
184
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
225
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
226
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
227
items.Add(new ProjectItemInstance(project, "Items", "c.cs", project.
FullPath
));
272
items.Add(new ProjectItemInstance(project, "Items", "a.cs", project.
FullPath
));
273
items.Add(new ProjectItemInstance(project, "Items", "b.cs", project.
FullPath
));
274
items.Add(new ProjectItemInstance(project, "Items", "c.cs", project.
FullPath
));
275
items.Add(new ProjectItemInstance(project, "MoreItems", "a.txt", project.
FullPath
));
276
items.Add(new ProjectItemInstance(project, "MoreItems", "b.txt", project.
FullPath
));
277
items.Add(new ProjectItemInstance(project, "MoreItems", "c.txt", project.
FullPath
));
BackEnd\TaskRegistry_Tests.cs (6)
2215
ProjectItemInstance iag = new ProjectItemInstance(project, "IntermediateAssembly", @"subdir1\engine.dll", project.
FullPath
);
2219
iag = new ProjectItemInstance(project, "IntermediateAssembly", @"subdir2\tasks.dll", project.
FullPath
);
2226
ProjectItemInstance fig = new ProjectItemInstance(project, "FirstItem" + i, "FirstValue" + i, project.
FullPath
);
2233
ProjectItemInstance sig = new ProjectItemInstance(project, "SecondItem" + i, "SecondValue" + i, project.
FullPath
);
2238
ProjectItemInstance tig = new ProjectItemInstance(project, "ThirdItem", "ThirdValue1", project.
FullPath
);
2242
ProjectItemInstance trig = new ProjectItemInstance(project, "ItemWithTrueItem", "true", project.
FullPath
);
Construction\SolutionProjectGenerator_Tests.cs (1)
1056
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)
86
ig.Add(new ProjectItemInstance(project, "Compile", "foo.cs", project.
FullPath
));
87
ig.Add(new ProjectItemInstance(project, "Compile", "bar.cs", project.
FullPath
));
90
ig2.Add(new ProjectItemInstance(project, "Resource", "bing.resx", project.
FullPath
));
758
ProjectItemInstance pi = new ProjectItemInstance(project, "i", "i" + n.ToString(), project.
FullPath
);
802
ProjectItemInstance i0 = new ProjectItemInstance(project, "i", "i0", project.
FullPath
);
803
ProjectItemInstance i1 = new ProjectItemInstance(project, "i", "i1", project.
FullPath
);
1370
NativeMethodsShared.IsWindows ? @"subdir1\engine.dll" : "subdir1/engine.dll", project.
FullPath
);
1374
NativeMethodsShared.IsWindows ? @"subdir2\tasks.dll" : "subdir2/tasks.dll", project.
FullPath
);
1379
ProjectItemInstance i3 = new ProjectItemInstance(project, "Content", "splash.bmp", project.
FullPath
);
1384
ProjectItemInstance i4 = new ProjectItemInstance(project, "Resource", "string$(p).resx", project.
FullPath
);
1387
ProjectItemInstance i5 = new ProjectItemInstance(project, "Resource", "dialogs%253b.resx", project.
FullPath
);
1392
ProjectItemInstance i6 = new ProjectItemInstance(project, "Content", "about.bmp", project.
FullPath
);
1583
var item = new ProjectItemInstance(project, "ManyItems", $"ThisIsAFairlyLongFileName_{i}.bmp", project.
FullPath
);
1591
new ProjectItemInstance (project, "ManySpacesItem", "Foo", project.
FullPath
),
1592
new ProjectItemInstance (project, "ManySpacesItem", manySpaces, project.
FullPath
),
1593
new ProjectItemInstance (project, "ManySpacesItem", "Bar", project.
FullPath
),
1597
new ProjectItemInstance (project, "Exactly1024", "".PadLeft(1024), project.
FullPath
),
1598
new ProjectItemInstance (project, "Exactly1024", "Foo", project.
FullPath
),
3917
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)
185
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
186
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
187
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
188
itemBag.Add(new ProjectItemInstance(parentProject, "Boolean", "true", parentProject.
FullPath
));
215
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
216
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
217
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
250
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
251
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
252
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
282
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "a", parentProject.
FullPath
));
299
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
300
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
301
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "baz.cs", parentProject.
FullPath
));
328
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "foo.cs", parentProject.
FullPath
));
329
itemBag.Add(new ProjectItemInstance(parentProject, "Compile", "bar.cs", parentProject.
FullPath
));
330
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)
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)
310
node.ProjectInstance.
FullPath
,
350
var rootNode = topoSortedNodes.First(n => Path.GetFileNameWithoutExtension(n.ProjectInstance.
FullPath
) == "1");
471
node.ProjectInstance.
FullPath
,
510
private static string ProjectNumber(ProjectGraphNode node) => Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
);
Instance\HostServices_Tests.cs (1)
395
hostServices.SetNodeAffinity(project.
FullPath
, NodeAffinity.InProc);
ProjectCache\ProjectCacheTests.cs (17)
502
var buildResult = buildSession.BuildProjectFile(node.ProjectInstance.
FullPath
);
538
logger.FullLog.ShouldNotContain($"EntryPoint: {graph.GraphRoots.First().ProjectInstance.
FullPath
}");
539
logger.FullLog.ShouldContain($"EntryPoint: {graph.GraphRoots.First().ProjectReferences.First().ProjectInstance.
FullPath
}");
585
node.ProjectInstance.
FullPath
,
606
var projectPath = node.ProjectInstance.
FullPath
;
636
var projectPath = node.ProjectInstance.
FullPath
;
698
r => buildSession.BuildProjectFileAsync(r.ProjectInstance.
FullPath
, globalProperties: globalProperties));
707
.BuildProjectFile(rootNode.ProjectInstance.
FullPath
, globalProperties: globalProperties)
796
mockLogger.FullLog.ShouldContain(string.Format(ResourceUtilities.GetResourceString("ProjectCacheQueryStartedWithDefaultTargets"), node.ProjectInstance.
FullPath
));
800
mockLogger.FullLog.ShouldContain(string.Format(ResourceUtilities.GetResourceString("ProjectCacheQueryStartedWithTargetNames"), node.ProjectInstance.
FullPath
, targets));
805
instanceMockCache.Requests.ShouldContain(r => r.ProjectFullPath.Equals(node.ProjectInstance.
FullPath
));
811
AssertBuildResultForCacheHit(node.ProjectInstance.
FullPath
, projectPathToBuildResults[node], expectedCacheResponse);
825
mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.
FullPath
}");
832
private static int GetProjectNumber(ProjectGraphNode node) => GetProjectNumber(node.ProjectInstance.
FullPath
);
1428
return buildSession.BuildProjectFileAsync(graph.ProjectNodes.First(n => GetProjectNumber(n) == projectNumber).ProjectInstance.
FullPath
);
1483
node.ProjectInstance.
FullPath
,
1498
buildSession.BuildProjectFile(graph.GraphRoots.First().ProjectInstance.
FullPath
).ShouldHaveSucceeded();
SolutionFileBuilder.cs (1)
96
n => n.ProjectInstance.
FullPath
),
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Build\ProjectBuildManager.cs (3)
246
log.Add(string.Format(WorkspaceMSBuildBuildHostResources.Project_does_not_contain_0_target, target), projectInstance.
FullPath
);
260
_batchBuildLogger?.SetProjectAndLog(projectInstance.
FullPath
, log);
270
log.Add(result.Exception, projectInstance.
FullPath
);
MSBuild\ProjectFile\CommandLineArgumentReader.cs (1)
122
var baseDirectory = PathUtilities.GetDirectoryName(Project.
FullPath
);
MSBuild\ProjectFile\ProjectFile.cs (1)
187
FilePath = project.
FullPath
,
MSBuild (1)
XMake.cs (1)
1621
nodeResultKvp.Key.ProjectInstance.
FullPath
.Equals(entryPoint.ProjectFile) &&