4 writes to SolutionFileDirectory
Microsoft.Build (2)
Construction\Solution\SolutionFile.cs (2)
244
SolutionFileDirectory
= Path.GetDirectoryName(_solutionFile);
625
SolutionFileDirectory
= Path.GetDirectoryName(_solutionFile);
Microsoft.Build.Engine.UnitTests (2)
Construction\SolutionFile_OldParser_Tests.cs (2)
778
p.
SolutionFileDirectory
= Path.GetFullPath(solutionFolder.Path);
803
sp.
SolutionFileDirectory
= Path.GetTempPath();
10 references to SolutionFileDirectory
Microsoft.Build (9)
Construction\Solution\ProjectInSolution.cs (2)
165
_relativePath = FileUtilities.MaybeAdjustFilePath(value, ParentSolution.
SolutionFileDirectory
);
179
_absolutePath = Path.Combine(ParentSolution.
SolutionFileDirectory
, _relativePath);
Construction\Solution\SolutionFile.cs (1)
1122
string fullPathToEtpProj = Path.Combine(
SolutionFileDirectory
, etpProj.RelativePath);
Construction\Solution\SolutionProjectGenerator.cs (4)
952
string escapedSolutionDirectory = EscapingUtilities.Escape(_solutionFile.
SolutionFileDirectory
);
1286
baseName = Path.Combine(_solutionFile.
SolutionFileDirectory
, MakeIntoSafeItemName(project.GetUniqueProjectName()));
2274
string directoryName = _solutionFile.
SolutionFileDirectory
;
2285
globalProperties.AddProperty(SolutionPathPropertyName, EscapingUtilities.Escape(Path.Combine(_solutionFile.
SolutionFileDirectory
, Path.GetFileName(_solutionFile.FullPath))));
Graph\GraphBuilder.cs (2)
295
string solutionDirectoryName = Solution.
SolutionFileDirectory
;
305
solutionGlobalPropertiesBuilder[SolutionProjectGenerator.SolutionPathPropertyName] = EscapingUtilities.Escape(Path.Combine(Solution.
SolutionFileDirectory
, Path.GetFileName(Solution.FullPath)));
Microsoft.Build.Engine.UnitTests (1)
Construction\SolutionProjectGenerator_Tests.cs (1)
2757
projectInSolution.AbsolutePath.ShouldBe(Path.Combine(solution.
SolutionFileDirectory
, projectInSolution.RelativePath));