7 references to GetRelativePath
dotnet-svcutil-lib (7)
CommandProcessorOptions.cs (3)
514
var svcRefNames = paramsFiles.Select(pf => { PathHelper.
GetRelativePath
(Path.GetDirectoryName(pf), new DirectoryInfo(projectDir), out var relPath); return relPath; })
519
PathHelper.
GetRelativePath
(paramsFilePath, new DirectoryInfo(projectDir), out fileRelPath);
650
if (this.Project != null && PathHelper.
GetRelativePath
(this.OutputDir.FullName, new DirectoryInfo(this.Project.DirectoryPath), out var relPath))
Shared\Options\UpdateOptions.cs (2)
86
if (this.OutputFile != null && PathHelper.
GetRelativePath
(this.OutputFile.OriginalPath(), optionsFileDirectory, out var relPath))
95
if (input.IsAbsoluteUri && input.IsFile && PathHelper.
GetRelativePath
(input.LocalPath, optionsFileDirectory, out relPath))
Shared\Utilities\PathHelper.cs (2)
83
if (
GetRelativePath
(fileSpec, directory, out relPath))
97
if (
GetRelativePath
(childPath, parentPath, out var relativePath))