1 write to FullPath
Microsoft.Build (1)
Construction\Solution\SolutionFile.cs (1)
290
var solution = new SolutionFile {
FullPath
= solutionFile };
44 references to FullPath
Microsoft.Build (44)
Construction\Solution\ProjectInSolution.cs (2)
426
new BuildEventFileInfo(ParentSolution.
FullPath
), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
468
new BuildEventFileInfo(ParentSolution.
FullPath
), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Construction\Solution\SolutionFile.cs (25)
233
throw new ArgumentNullException(nameof(
FullPath
));
310
ISolutionSerializer serializer = SolutionSerializers.GetSerializerByMoniker(
FullPath
);
315
new BuildEventFileInfo(
FullPath
),
317
$"No solution serializer was found for {
FullPath
}");
323
SolutionModel solutionModel = serializer.OpenAsync(
FullPath
, CancellationToken.None).GetAwaiter().GetResult();
328
var errorLocation = ElementLocation.Create(
FullPath
, solutionEx.Line ?? 0, solutionEx.Column ?? 0);
337
new BuildEventFileInfo(
FullPath
),
898
new BuildEventFileInfo(
FullPath
),
963
new BuildEventFileInfo(
FullPath
), "SolutionParseNoHeaderError");
1009
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseVersionMismatchError",
1019
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0),
1078
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseProjectDepGuidError", proj.ProjectName);
1096
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseWebProjectPropertiesError", proj.ProjectName);
1122
new BuildEventFileInfo(
FullPath
), "SolutionParseProjectEofError", proj.ProjectName);
1307
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0),
1314
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0),
1504
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseProjectError");
1556
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(
FullPath
), "ProjectUpgradeNeededToVcxProj", proj.RelativePath);
1604
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseNestedProjectError");
1612
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseNestedProjectUndefinedError", projectGuid, parentProjectGuid);
1653
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str);
1665
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str);
1667
var (configuration, platform) = ParseConfigurationName(fullConfigurationName,
FullPath
, _currentLineNumber, str);
1730
new BuildEventFileInfo(
FullPath
, _currentLineNumber, 0), "SolutionParseInvalidProjectSolutionConfigurationEntry", str);
1776
new BuildEventFileInfo(
FullPath
), "SolutionParseInvalidProjectSolutionConfigurationEntry",
Construction\Solution\SolutionProjectGenerator.cs (11)
287
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo(solutionFile.
FullPath
), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid);
748
new BuildEventFileInfo(_solutionFile.
FullPath
),
910
traversalProject.FullPath = $"{_solutionFile.
FullPath
}.metaproj";
1032
string metaprojectPath = $"{_solutionFile.
FullPath
}.metaproj.tmp";
1069
string escapedSolutionFileName = EscapingUtilities.Escape(Path.GetFileName(_solutionFile.
FullPath
));
1288
new BuildEventFileInfo(_solutionFile.
FullPath
),
2282
new BuildEventFileInfo(_solutionFile.
FullPath
),
2351
globalProperties.AddProperty("SolutionExt", EscapingUtilities.Escape(Path.GetExtension(_solutionFile.
FullPath
)));
2352
globalProperties.AddProperty("SolutionFileName", EscapingUtilities.Escape(Path.GetFileName(_solutionFile.
FullPath
)));
2353
globalProperties.AddProperty("SolutionName", EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_solutionFile.
FullPath
)));
2355
globalProperties.AddProperty(SolutionPathPropertyName, EscapingUtilities.Escape(Path.Combine(_solutionFile.SolutionFileDirectory, Path.GetFileName(_solutionFile.
FullPath
))));
Graph\GraphBuilder.cs (5)
311
solutionGlobalPropertiesBuilder["SolutionExt"] = EscapingUtilities.Escape(Path.GetExtension(Solution.
FullPath
));
312
solutionGlobalPropertiesBuilder["SolutionFileName"] = EscapingUtilities.Escape(Path.GetFileName(Solution.
FullPath
));
313
solutionGlobalPropertiesBuilder["SolutionName"] = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(Solution.
FullPath
));
314
solutionGlobalPropertiesBuilder[SolutionProjectGenerator.SolutionPathPropertyName] = EscapingUtilities.Escape(Path.Combine(Solution.SolutionFileDirectory, Path.GetFileName(Solution.
FullPath
)));
359
new BuildEventFileInfo(Solution.
FullPath
),
Graph\ProjectGraph.cs (1)
679
ElementLocation.Create(Solution.
FullPath
),