3 writes to RelativePath
Microsoft.Build (3)
Construction\Solution\SolutionFile.cs (3)
386RelativePath = projectModel.FilePath, 1197RelativePath = Path.Combine(etpProjectRelativeDir, fileElementValue) 1508proj.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)
414if (IsEtpProjectFile(proj.RelativePath)) 838if (Uri.TryCreate(proj.RelativePath, UriKind.Absolute, out Uri uri)) 910projectPaths.Add(FileUtilities.NormalizePathSeparatorsToForwardSlash(project.RelativePath)); 1128if (IsEtpProjectFile(proj.RelativePath)) 1143string fullPathToEtpProj = Path.Combine(SolutionFileDirectory, etpProj.RelativePath); 1144string etpProjectRelativeDir = Path.GetDirectoryName(etpProj.RelativePath); 1203proj.ProjectName = proj.RelativePath; 1231etpProj.RelativePath, e.Message); 1240etpProj.RelativePath, e.Message); 1249etpProj.RelativePath, e.Message); 1258etpProj.RelativePath, e.Message); 1267etpProj.RelativePath, e.Message); 1302ErrorUtilities.VerifyThrow(proj.RelativePath != null, "Project relative path cannot be null."); 1305ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj.RelativePath.AsSpan().IndexOfAny(MSBuildConstants.InvalidPathChars) < 0, 1309proj.ProjectName, proj.RelativePath); 1312ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj.RelativePath.Length > 0, 1556ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath); 1888return proj.RelativePath;
Construction\Solution\SolutionProjectGenerator.cs (5)
701if (!solutionFile.ProjectShouldBuild(project.RelativePath)) 1948project.RelativePath); 1959project.RelativePath, 2254new BuildEventFileInfo(project.RelativePath), 2256project.RelativePath,
NuGet.CommandLine.XPlat (1)
Utility\MSBuildAPIUtility.cs (1)
108if (projectShouldBuild(project.RelativePath))