3 writes to RelativePath
Microsoft.Build (3)
Construction\Solution\SolutionFile.cs (3)
386
RelativePath
= projectModel.FilePath,
1197
RelativePath
= Path.Combine(etpProjectRelativeDir, fileElementValue)
1508
proj.
RelativePath
= match.Groups["RELATIVEPATH"].Value.Trim();
25 references to RelativePath
dotnet (1)
Commands\Test\MTP\MSBuildUtility.cs (1)
63
.Where(p => ProjectShouldBuild(solutionFile, p.
RelativePath
) && p.ProjectConfigurations.ContainsKey(solutionConfiguration.FullName))
Microsoft.Build (23)
Construction\Solution\SolutionFile.cs (18)
414
if (IsEtpProjectFile(proj.
RelativePath
))
838
if (Uri.TryCreate(proj.
RelativePath
, UriKind.Absolute, out Uri uri))
910
projectPaths.Add(FileUtilities.NormalizePathSeparatorsToForwardSlash(project.
RelativePath
));
1128
if (IsEtpProjectFile(proj.
RelativePath
))
1143
string fullPathToEtpProj = Path.Combine(SolutionFileDirectory, etpProj.
RelativePath
);
1144
string etpProjectRelativeDir = Path.GetDirectoryName(etpProj.
RelativePath
);
1203
proj.ProjectName = proj.
RelativePath
;
1231
etpProj.
RelativePath
, e.Message);
1240
etpProj.
RelativePath
, e.Message);
1249
etpProj.
RelativePath
, e.Message);
1258
etpProj.
RelativePath
, e.Message);
1267
etpProj.
RelativePath
, e.Message);
1302
ErrorUtilities.VerifyThrow(proj.
RelativePath
!= null, "Project relative path cannot be null.");
1305
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj.
RelativePath
.AsSpan().IndexOfAny(MSBuildConstants.InvalidPathChars) < 0,
1309
proj.ProjectName, proj.
RelativePath
);
1312
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj.
RelativePath
.Length > 0,
1556
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(FullPath), "ProjectUpgradeNeededToVcxProj", proj.
RelativePath
);
1888
return proj.
RelativePath
;
Construction\Solution\SolutionProjectGenerator.cs (5)
701
if (!solutionFile.ProjectShouldBuild(project.
RelativePath
))
1948
project.
RelativePath
);
1959
project.
RelativePath
,
2254
new BuildEventFileInfo(project.
RelativePath
),
2256
project.
RelativePath
,
NuGet.CommandLine.XPlat (1)
Utility\MSBuildAPIUtility.cs (1)
108
if (projectShouldBuild(project.
RelativePath
))