1 write to DirectoryPath
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
168
DirectoryPath
= Path.GetDirectoryName(projectFullPath)
29 references to DirectoryPath
dotnet-svcutil-lib (29)
Bootstrapper\SvcutilBootstrapper.cs (3)
88
result = await ProcessRunner.RunAsync("dotnet", $"run \"{paramsFilePath}\"", this.MSBuildProj.
DirectoryPath
, redirectOutput, logger, cancellationToken).ConfigureAwait(false);
170
string programFilePath = Path.Combine(this.MSBuildProj.
DirectoryPath
, "Program.cs");
177
var paramsFilePath = Path.Combine(this.MSBuildProj.
DirectoryPath
, s_bootstrapperParamsFileName);
CommandProcessorOptions.cs (8)
213
await ProcessOutputDirOptionAsync(this.Project?.
DirectoryPath
, cancellationToken).ConfigureAwait(false);
385
var defaultDir = this.Project?.
DirectoryPath
?? Directory.GetCurrentDirectory();
431
var defaultDir = workingDirectory ?? this.Project?.
DirectoryPath
?? Directory.GetCurrentDirectory();
451
!PathHelper.IsUnderDirectory(outputFile, new DirectoryInfo(this.Project.
DirectoryPath
), out filePath, out relPath))
453
this.AddWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnSpecifiedFilePathNotUndeProjectDirFormat, Switches.OutputFile.Name, outputFile, this.Project.
DirectoryPath
));
468
var projectDir = this.Project?.
DirectoryPath
;
650
if (this.Project != null && PathHelper.GetRelativePath(this.OutputDir.FullName, new DirectoryInfo(this.Project.
DirectoryPath
), out var relPath))
1005
var workingDirectory = this.Project?.
DirectoryPath
?? Directory.GetCurrentDirectory();
Shared\MSBuildProj.cs (17)
67
public string FullPath { get { return Path.Combine(
DirectoryPath
, FileName); } }
198
targetFramework = GetValueFromDirBuildProps(targetFramework, msbuildProj.
DirectoryPath
);
316
fullPath = new FileInfo(Path.Combine(msbuildProj.
DirectoryPath
, binReference)).FullName;
340
else if (Directory.Exists(Path.Combine(msbuildProj.
DirectoryPath
, fullPath)))
342
fullPath = Path.Combine(msbuildProj.
DirectoryPath
, fullPath, binReference);
355
if (!Directory.Exists(msbuildProj.
DirectoryPath
))
357
Directory.CreateDirectory(msbuildProj.
DirectoryPath
);
361
var sdkVersion = await ProjectPropertyResolver.GetSdkVersionAsync(msbuildProj.
DirectoryPath
, logger, cancellationToken).ConfigureAwait(false);
695
if (!Directory.Exists(this.
DirectoryPath
))
697
Directory.CreateDirectory(this.
DirectoryPath
);
722
await ProcessRunner.TryRunAsync("dotnet", restoreParams + " --no-dependencies", this.
DirectoryPath
, logger, cancellationToken).ConfigureAwait(false);
723
var result = await ProcessRunner.TryRunAsync("dotnet", restoreParams, this.
DirectoryPath
, logger, cancellationToken).ConfigureAwait(false);
745
return await ProcessRunner.RunAsync("dotnet", buildParams, this.
DirectoryPath
, logger, cancellationToken).ConfigureAwait(false);
797
var assetsFile = new FileInfo(Path.Combine(this.
DirectoryPath
, "obj", "project.assets.json")).FullName;
876
outputPath = Path.Combine(this.
DirectoryPath
, outputPath.Trim(new char[] { '\"' }));
1052
if (_ownsDirectory && Directory.Exists(this.
DirectoryPath
) && !DebugUtils.KeepTemporaryDirs)
1054
try { Directory.Delete(this.
DirectoryPath
, recursive: true); } catch { }
Tool.cs (1)
268
PathHelper.IsUnderDirectory(options.OutputFile.FullName, new DirectoryInfo(options.Project.
DirectoryPath
), out var filePath, out var relPath);