8 references to RootDir
Microsoft.DotNet.SourceBuild.Tasks (8)
src\UsageReport\WritePackageUsageData.cs (8)
90.Where(dir => !dir.StartsWith(RootDir, StringComparison.Ordinal)) 96$"All ProjectDirectories must be in RootDir '{RootDir}', but found " + 141.GetFiles(RootDir, "project.assets.json", SearchOption.AllDirectories) 163using (var stream = File.OpenRead(Path.Combine(RootDir, relativePath))) 184using (var file = File.OpenRead(Path.Combine(RootDir, assetFile))) 266if (path.StartsWith(RootDir)) 268return path.Substring(RootDir.Length).Replace(Path.DirectorySeparatorChar, '/'); 271throw new ArgumentException($"Path '{path}' is not within RootDir '{RootDir}'");