2 writes to OutputDir
dotnet-svcutil-lib (2)
CommandProcessorOptions.cs (2)
394this.OutputDir = IsUpdateOperation ? 408this.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)
214await ProcessOutputFileOptionAsync(this.OutputDir.FullName, cancellationToken); 376if (this.OutputDir == null) 392if (this.OutputDir == null) 399await logger.WriteMessageAsync($"{OutputDirKey}:\"{this.OutputDir}\"", logToUI: false).ConfigureAwait(false); 404var originalDirSpec = this.OutputDir.ToString(); // ToString provides the original value of the DirectoryInfo. 433if (PathHelper.IsUnderDirectory(outputFile, this.OutputDir, out var filePath, out var relPath)) 446string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileNotUnderOutputDirFormat, Switches.OutputFile.Name, outputFile, this.OutputDir, Switches.OutputDirectory.Name)); 649if (this.Project != null && PathHelper.GetRelativePath(this.OutputDir.FullName, new DirectoryInfo(this.Project.DirectoryPath), out var relPath))
Tool.cs (2)
327updateOptions.MakePathsRelativeTo(options.OutputDir); 329var paramsFile = Path.Combine(options.OutputDir.FullName, CommandProcessorOptions.SvcutilParamsFileName);