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