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