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 };
49 references to FullPath
Microsoft.Build (46)
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 (24)
226throw new ArgumentNullException(nameof(FullPath)); 303ISolutionSerializer serializer = SolutionSerializers.GetSerializerByMoniker(FullPath); 309SolutionModel solutionModel = serializer.OpenAsync(FullPath, CancellationToken.None).Result; 315new BuildEventFileInfo(FullPath), 323new BuildEventFileInfo(FullPath), 325$"No solution serializer was found for {FullPath}"); 877new BuildEventFileInfo(FullPath), 942new BuildEventFileInfo(FullPath), "SolutionParseNoHeaderError"); 988new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseVersionMismatchError", 998new BuildEventFileInfo(FullPath, _currentLineNumber, 0), 1057new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseProjectDepGuidError", proj.ProjectName); 1075new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseWebProjectPropertiesError", proj.ProjectName); 1101new BuildEventFileInfo(FullPath), "SolutionParseProjectEofError", proj.ProjectName); 1286new BuildEventFileInfo(FullPath, _currentLineNumber, 0), 1293new BuildEventFileInfo(FullPath, _currentLineNumber, 0), 1507new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseProjectError"); 1559ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath); 1607new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseNestedProjectError"); 1615new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseNestedProjectUndefinedError", projectGuid, parentProjectGuid); 1656new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str); 1668new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str); 1670var (configuration, platform) = ParseConfigurationName(fullConfigurationName, FullPath, _currentLineNumber, str); 1733new BuildEventFileInfo(FullPath, _currentLineNumber, 0), "SolutionParseInvalidProjectSolutionConfigurationEntry", str); 1781new 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");