6 references to TryRunAsync
dotnet-svcutil-lib (3)
Shared\MSBuildProj.cs (2)
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);
Shared\ProjectPropertyResolver.cs (1)
123
var procResult = await ProcessRunner.
TryRunAsync
("dotnet", "--version", workingDirectory, logger, cancellationToken).ConfigureAwait(false);
dotnet-svcutil-lib.Tests (3)
TestInit.cs (3)
135
ProcessRunner.ProcessResult procResult = ProcessRunner.
TryRunAsync
("dotnet", "--version", Directory.GetCurrentDirectory(), null, new CancellationToken()).ConfigureAwait(false).GetAwaiter().GetResult();
178
ProcessRunner.ProcessResult ret = ProcessRunner.
TryRunAsync
("dotnet", "tool uninstall -g dotnet-svcutil", currentDirectory, null, CancellationToken.None).Result;
185
ret = ProcessRunner.
TryRunAsync
("dotnet", $"tool install --global --add-source {pkgPath} dotnet-svcutil --version {g_SvcutilPkgVersion}", currentDirectory, null, CancellationToken.None).Result;