14 writes to FullPath
Microsoft.Build (1)
Construction\Solution\SolutionFile.cs (1)
283
var solution = new SolutionFile {
FullPath
= solutionFile };
Microsoft.Build.Engine.UnitTests (13)
Construction\SolutionFile_NewParser_Tests.cs (1)
142
SolutionFile solutionFile = new SolutionFile {
FullPath
= solutionPath };
Construction\SolutionFile_OldParser_Tests.cs (8)
36
p.
FullPath
= NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln";
60
p.
FullPath
= "c:\\foo.sln";
77
p.
FullPath
= NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln";
96
p.
FullPath
= NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln";
152
p.
FullPath
= NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln";
715
p.
FullPath
= NativeMethodsShared.IsWindows ? "c:\\foo.sln" : "/foo.sln";
777
p.
FullPath
= Path.Combine(solutionFolder.Path, "RelativePath", "project file");
805
sp.
FullPath
= FileUtilities.GetTemporaryFileName(".sln");
Construction\SolutionProjectGenerator_Tests.cs (4)
629
sp.
FullPath
= solutionFile;
650
sp1.
FullPath
= solutionFileMultipleProjects;
714
sp.
FullPath
= solutionFile;
1048
var solution = new SolutionFile {
FullPath
= solutionFile };
49 references to FullPath
Microsoft.Build (46)
Construction\Solution\ProjectInSolution.cs (2)
417
new BuildEventFileInfo(ParentSolution.
FullPath
), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
459
new BuildEventFileInfo(ParentSolution.
FullPath
), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Construction\Solution\SolutionFile.cs (24)
226
throw new ArgumentNullException(nameof(
FullPath
));
303
ISolutionSerializer serializer = SolutionSerializers.GetSerializerByMoniker(
FullPath
);
309
SolutionModel solutionModel = serializer.OpenAsync(
FullPath
, CancellationToken.None).Result;
315
new BuildEventFileInfo(
FullPath
),
323
new BuildEventFileInfo(
FullPath
),
325
$"No solution serializer was found for {
FullPath
}");
877
new BuildEventFileInfo(
FullPath
),
942
new BuildEventFileInfo(
FullPath
), "SolutionParseNoHeaderError");
988
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseVersionMismatchError",
998
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0),
1057
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseProjectDepGuidError", proj.ProjectName);
1075
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseWebProjectPropertiesError", proj.ProjectName);
1101
new BuildEventFileInfo(
FullPath
), "SolutionParseProjectEofError", proj.ProjectName);
1286
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0),
1293
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0),
1507
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseProjectError");
1559
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(
FullPath
), "ProjectUpgradeNeededToVcxProj", proj.RelativePath);
1607
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseNestedProjectError");
1615
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseNestedProjectUndefinedError", projectGuid, parentProjectGuid);
1656
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str);
1668
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str);
1670
var (configuration, platform) = ParseConfigurationName(fullConfigurationName,
FullPath
, _currentLineNumber, str);
1733
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseInvalidProjectSolutionConfigurationEntry", str);
1781
new BuildEventFileInfo(
FullPath
), "SolutionParseInvalidProjectSolutionConfigurationEntry",
Construction\Solution\SolutionProjectGenerator.cs (14)
287
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo(solutionFile.
FullPath
), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid);
701
new BuildEventFileInfo(_solutionFile.
FullPath
),
863
traversalProject.FullPath = _solutionFile.
FullPath
+ ".metaproj";
951
string escapedSolutionFile = EscapingUtilities.Escape(Path.GetFileName(_solutionFile.
FullPath
));
993
string metaprojectPath = _solutionFile.
FullPath
+ ".metaproj.tmp";
1457
AddPropertyGroupForAspNetConfiguration(traversalProject, metaprojectInstance, project, configurationName, aspNetCompilerParameters, _solutionFile.
FullPath
);
1543
new BuildEventFileInfo(_solutionFile.
FullPath
),
1570
new BuildEventFileInfo(_solutionFile.
FullPath
),
1591
new BuildEventFileInfo(_solutionFile.
FullPath
),
2212
new BuildEventFileInfo(_solutionFile.
FullPath
),
2281
globalProperties.AddProperty("SolutionExt", EscapingUtilities.Escape(Path.GetExtension(_solutionFile.
FullPath
)));
2282
globalProperties.AddProperty("SolutionFileName", EscapingUtilities.Escape(Path.GetFileName(_solutionFile.
FullPath
)));
2283
globalProperties.AddProperty("SolutionName", EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_solutionFile.
FullPath
)));
2285
globalProperties.AddProperty(SolutionPathPropertyName, EscapingUtilities.Escape(Path.Combine(_solutionFile.SolutionFileDirectory, Path.GetFileName(_solutionFile.
FullPath
))));
Graph\GraphBuilder.cs (5)
302
solutionGlobalPropertiesBuilder["SolutionExt"] = EscapingUtilities.Escape(Path.GetExtension(Solution.
FullPath
));
303
solutionGlobalPropertiesBuilder["SolutionFileName"] = EscapingUtilities.Escape(Path.GetFileName(Solution.
FullPath
));
304
solutionGlobalPropertiesBuilder["SolutionName"] = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(Solution.
FullPath
));
305
solutionGlobalPropertiesBuilder[SolutionProjectGenerator.SolutionPathPropertyName] = EscapingUtilities.Escape(Path.Combine(Solution.SolutionFileDirectory, Path.GetFileName(Solution.
FullPath
)));
350
new BuildEventFileInfo(Solution.
FullPath
),
Graph\ProjectGraph.cs (1)
679
ElementLocation.Create(Solution.
FullPath
),
Microsoft.Build.Engine.UnitTests (3)
Construction\SolutionFile_OldParser_Tests.cs (1)
2429
solution.ProjectsInOrder[0].AbsolutePath.ShouldBe(Path.GetFullPath(Path.Combine(Path.GetDirectoryName(solution.
FullPath
)!, expectedRelativePath)));
Construction\SolutionProjectGenerator_Tests.cs (2)
1970
Assert.True(File.Exists(solution.
FullPath
+ ".metaproj")); // "Solution parser should have written in-memory project to disk"
1971
File.Delete(solution.
FullPath
+ ".metaproj");