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)
163
using (var stream = File.OpenRead(Path.Combine(
RootDir
, relativePath)))
184
using (var file = File.OpenRead(Path.Combine(
RootDir
, assetFile)))
266
if (path.StartsWith(
RootDir
))
268
return path.Substring(
RootDir
.Length).Replace(Path.DirectorySeparatorChar, '/');
271
throw new ArgumentException($"Path '{path}' is not within RootDir '{
RootDir
}'");