14 writes to FullPath
Microsoft.Build (1)
Construction\Solution\SolutionFile.cs (1)
283var solution = new SolutionFile { FullPath = solutionFile };
Microsoft.Build.Engine.UnitTests (13)
Construction\SolutionFile_NewParser_Tests.cs (1)
142SolutionFile solutionFile = new SolutionFile { FullPath = solutionPath };
Construction\SolutionFile_OldParser_Tests.cs (8)
36p.FullPath = NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln"; 60p.FullPath = "c:\\foo.sln"; 77p.FullPath = NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln"; 96p.FullPath = NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln"; 152p.FullPath = NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln"; 715p.FullPath = NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln"; 777p.FullPath = Path.Combine(solutionFolder.Path, "RelativePath", "project file"); 805sp.FullPath = FileUtilities.GetTemporaryFileName(".sln");
Construction\SolutionProjectGenerator_Tests.cs (4)
629sp.FullPath = solutionFile; 650sp1.FullPath = solutionFileMultipleProjects; 714sp.FullPath = solutionFile; 1048var solution = new SolutionFile { FullPath = solutionFile };
50 references to FullPath
Microsoft.Build (47)
Construction\Solution\ProjectInSolution.cs (2)
417new BuildEventFileInfo(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid); 459new BuildEventFileInfo(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Construction\Solution\SolutionFile.cs (25)
226throw new ArgumentNullException(nameof(FullPath)); 303ISolutionSerializer serializer = SolutionSerializers.GetSerializerByMoniker(FullPath); 308new BuildEventFileInfo(FullPath), 310$"No solution serializer was found for {FullPath}"); 316SolutionModel solutionModel = serializer.OpenAsync(FullPath, CancellationToken.None).GetAwaiter().GetResult(); 321var errorLocation = ElementLocation.Create(FullPath, solutionEx.Line ?? 0, solutionEx.Column ?? 0); 330new BuildEventFileInfo(FullPath), 885new BuildEventFileInfo(FullPath), 950new BuildEventFileInfo(FullPath), "SolutionParseNoHeaderError"); 996new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseVersionMismatchError", 1006new BuildEventFileInfo(FullPath, _currentLineNumber, 0), 1065new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseProjectDepGuidError", proj.ProjectName); 1083new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseWebProjectPropertiesError", proj.ProjectName); 1109new BuildEventFileInfo(FullPath), "SolutionParseProjectEofError", proj.ProjectName); 1294new BuildEventFileInfo(FullPath, _currentLineNumber, 0), 1301new BuildEventFileInfo(FullPath, _currentLineNumber, 0), 1515new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseProjectError"); 1567ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath); 1615new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseNestedProjectError"); 1623new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseNestedProjectUndefinedError", projectGuid, parentProjectGuid); 1664new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str); 1676new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str); 1678var (configuration, platform) = ParseConfigurationName(fullConfigurationName, FullPath, _currentLineNumber, str); 1741new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseInvalidProjectSolutionConfigurationEntry", str); 1789new BuildEventFileInfo(FullPath), "SolutionParseInvalidProjectSolutionConfigurationEntry",
Construction\Solution\SolutionProjectGenerator.cs (14)
287ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid); 701new BuildEventFileInfo(_solutionFile.FullPath), 863traversalProject.FullPath = _solutionFile.FullPath + ".metaproj"; 951string escapedSolutionFile = EscapingUtilities.Escape(Path.GetFileName(_solutionFile.FullPath)); 993string metaprojectPath = _solutionFile.FullPath + ".metaproj.tmp"; 1457AddPropertyGroupForAspNetConfiguration(traversalProject, metaprojectInstance, project, configurationName, aspNetCompilerParameters, _solutionFile.FullPath); 1543new BuildEventFileInfo(_solutionFile.FullPath), 1570new BuildEventFileInfo(_solutionFile.FullPath), 1591new BuildEventFileInfo(_solutionFile.FullPath), 2212new BuildEventFileInfo(_solutionFile.FullPath), 2281globalProperties.AddProperty("SolutionExt", EscapingUtilities.Escape(Path.GetExtension(_solutionFile.FullPath))); 2282globalProperties.AddProperty("SolutionFileName", EscapingUtilities.Escape(Path.GetFileName(_solutionFile.FullPath))); 2283globalProperties.AddProperty("SolutionName", EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_solutionFile.FullPath))); 2285globalProperties.AddProperty(SolutionPathPropertyName, EscapingUtilities.Escape(Path.Combine(_solutionFile.SolutionFileDirectory, Path.GetFileName(_solutionFile.FullPath))));
Graph\GraphBuilder.cs (5)
302solutionGlobalPropertiesBuilder["SolutionExt"] = EscapingUtilities.Escape(Path.GetExtension(Solution.FullPath)); 303solutionGlobalPropertiesBuilder["SolutionFileName"] = EscapingUtilities.Escape(Path.GetFileName(Solution.FullPath)); 304solutionGlobalPropertiesBuilder["SolutionName"] = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(Solution.FullPath)); 305solutionGlobalPropertiesBuilder[SolutionProjectGenerator.SolutionPathPropertyName] = EscapingUtilities.Escape(Path.Combine(Solution.SolutionFileDirectory, Path.GetFileName(Solution.FullPath))); 350new BuildEventFileInfo(Solution.FullPath),
Graph\ProjectGraph.cs (1)
679ElementLocation.Create(Solution.FullPath),
Microsoft.Build.Engine.UnitTests (3)
Construction\SolutionFile_OldParser_Tests.cs (1)
2429solution.ProjectsInOrder[0].AbsolutePath.ShouldBe(Path.GetFullPath(Path.Combine(Path.GetDirectoryName(solution.FullPath)!, expectedRelativePath)));
Construction\SolutionProjectGenerator_Tests.cs (2)
1970Assert.True(File.Exists(solution.FullPath + ".metaproj")); // "Solution parser should have written in-memory project to disk" 1971File.Delete(solution.FullPath + ".metaproj");