2 writes to OutputDir
dotnet-svcutil-lib (2)
CommandProcessorOptions.cs (2)
395this.OutputDir = IsUpdateOperation ? 409this.OutputDir = new DirectoryInfo(Path.Combine(workingDirectory, originalDirSpec));
11 references to OutputDir
dotnet-svcutil-lib (11)
CodeSerializer.cs (1)
32_outputFilePath = OutputPathHelper.BuildFilePath(s_defaultFileName, options.OutputDir.FullName, outputFilename, extension, CommandProcessorOptions.Switches.OutputFile.Name);
CommandProcessorOptions.cs (8)
215await ProcessOutputFileOptionAsync(this.OutputDir.FullName, cancellationToken); 377if (this.OutputDir == null) 393if (this.OutputDir == null) 400await logger.WriteMessageAsync($"{OutputDirKey}:\"{this.OutputDir}\"", logToUI: false).ConfigureAwait(false); 405var originalDirSpec = this.OutputDir.ToString(); // ToString provides the original value of the DirectoryInfo. 434if (PathHelper.IsUnderDirectory(outputFile, this.OutputDir, out var filePath, out var relPath)) 447string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileNotUnderOutputDirFormat, Switches.OutputFile.Name, outputFile, this.OutputDir, Switches.OutputDirectory.Name)); 650if (this.Project != null && PathHelper.GetRelativePath(this.OutputDir.FullName, new DirectoryInfo(this.Project.DirectoryPath), out var relPath))
Tool.cs (2)
312updateOptions.MakePathsRelativeTo(options.OutputDir); 314var paramsFile = Path.Combine(options.OutputDir.FullName, CommandProcessorOptions.SvcutilParamsFileName);