21 references to AbsolutePath
Microsoft.Build (11)
Construction\Solution\ProjectInSolution.cs (1)
315
FileStream fs = File.OpenRead(
AbsolutePath
);
Construction\Solution\SolutionProjectGenerator.cs (6)
277
xw.WriteAttributeString("AbsolutePath", project.
AbsolutePath
);
1075
item = projectInstance.AddItem("ProjectReference", EscapingUtilities.Escape(projectToAdd.
AbsolutePath
), null);
1303
baseName = project.
AbsolutePath
;
1360
AddProjectBuildTask(traversalProject, projectConfiguration, target, targetName, EscapingUtilities.Escape(project.
AbsolutePath
), String.Empty, outputItem);
2061
AddProjectBuildTask(traversalProject, projectConfiguration, targetElement, targetToBuild, "@(ProjectReference)", $"'%(ProjectReference.Identity)' == '{EscapingUtilities.Escape(project.
AbsolutePath
)}'", outputItemName);
2156
Project msbuildProject = new Project(project.
AbsolutePath
, _globalProperties, childProjectToolsVersion);
Graph\GraphBuilder.cs (3)
337
newEntryPoints.Add(new ProjectGraphEntryPoint(project.
AbsolutePath
, projectGlobalProperties));
361
solutionDependenciesForProject.Add(dependencyProject.
AbsolutePath
);
367
solutionDependencies.Add(project.
AbsolutePath
, solutionDependenciesForProject);
Graph\ProjectGraph.cs (1)
691
ProjectGraphNode GetNodeForProject(ProjectInSolution project) => EntryPointNodes.First(node => string.Equals(node.ProjectInstance.FullPath, project.
AbsolutePath
));
Microsoft.Build.Engine.UnitTests (10)
Construction\SolutionFile_OldParser_Tests.cs (9)
2429
solution.ProjectsInOrder[0].
AbsolutePath
.ShouldBe(Path.GetFullPath(Path.Combine(Path.GetDirectoryName(solution.FullPath)!, expectedRelativePath)));
2516
project.
AbsolutePath
.ShouldNotContain("\\");
2519
if (project.
AbsolutePath
.Contains(Path.DirectorySeparatorChar.ToString()))
2521
project.
AbsolutePath
.ShouldContain("/");
2550
if (project.
AbsolutePath
.Contains("\\"))
2552
project.
AbsolutePath
.ShouldNotContain("\\");
2583
project.
AbsolutePath
.ShouldNotContain("\\");
2586
project.
AbsolutePath
.ShouldContain("/");
2589
project.
AbsolutePath
.ShouldContain("Sub");
Construction\SolutionProjectGenerator_Tests.cs (1)
2847
projectInSolution.
AbsolutePath
.ShouldBe(Path.Combine(solution.SolutionFileDirectory, projectInSolution.RelativePath));