3 writes to RelativePath
Microsoft.Build (3)
Construction\Solution\SolutionFile.cs (3)
385
RelativePath
= projectModel.FilePath,
1216
RelativePath
= Path.Combine(etpProjectRelativeDir, fileElementValue)
1532
proj.
RelativePath
= match.Groups["RELATIVEPATH"].Value.Trim();
24 references to RelativePath
Microsoft.Build (23)
Construction\Solution\SolutionFile.cs (18)
413
if (IsEtpProjectFile(proj.
RelativePath
))
838
if (Uri.TryCreate(proj.
RelativePath
, UriKind.Absolute, out Uri uri))
910
projectPaths.Add(FileUtilities.NormalizePathSeparatorsToForwardSlash(project.
RelativePath
));
1147
if (IsEtpProjectFile(proj.
RelativePath
))
1162
string fullPathToEtpProj = Path.Combine(SolutionFileDirectory, etpProj.
RelativePath
);
1163
string etpProjectRelativeDir = Path.GetDirectoryName(etpProj.
RelativePath
);
1222
proj.ProjectName = proj.
RelativePath
;
1250
etpProj.
RelativePath
, e.Message);
1259
etpProj.
RelativePath
, e.Message);
1268
etpProj.
RelativePath
, e.Message);
1277
etpProj.
RelativePath
, e.Message);
1286
etpProj.
RelativePath
, e.Message);
1321
Assumed.NotNull(proj.
RelativePath
, "Project relative path cannot be null.");
1325
proj.
RelativePath
.AsSpan().IndexOfAny(MSBuildConstants.InvalidPathChars) < 0,
1329
proj.ProjectName, proj.
RelativePath
);
1333
proj.
RelativePath
.Length > 0,
1580
ProjectErrorUtilities.ThrowInvalidProject(ElementLocation.Create(FullPath), "ProjectUpgradeNeededToVcxProj", proj.
RelativePath
);
1935
return proj.
RelativePath
;
Construction\Solution\SolutionProjectGenerator.cs (5)
706
if (!solutionFile.ProjectShouldBuild(project.
RelativePath
))
1955
project.
RelativePath
);
1966
project.
RelativePath
,
2262
ElementLocation.Create(project.
RelativePath
),
2264
project.
RelativePath
,
NuGet.CommandLine.XPlat (1)
Utility\MSBuildAPIUtility.cs (1)
109
if (projectShouldBuild(project.
RelativePath
))