|
|
|
@ -494,7 +494,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
@@ -494,7 +494,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
|
|
|
|
|
var command = Cli.Wrap(cscPath) |
|
|
|
|
.WithArguments($"{otherOptions} -lib:{libPath} {string.Join(" ", references)} -out:\"{Path.GetFullPath(results.PathToAssembly)}\" {string.Join(" ", sourceFileNames.Select(fn => '"' + Path.GetFullPath(fn) + '"'))}")
|
|
|
|
|
.WithValidation(CommandResultValidation.None); |
|
|
|
|
Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}"); |
|
|
|
|
//Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}");
|
|
|
|
|
|
|
|
|
|
var result = await command.ExecuteBufferedAsync().ConfigureAwait(false); |
|
|
|
|
if (!string.IsNullOrWhiteSpace(result.StandardOutput)) |
|
|
|
@ -556,7 +556,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
@@ -556,7 +556,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
|
|
|
|
|
var command = Cli.Wrap(mcsPath) |
|
|
|
|
.WithArguments($"{otherOptions}-out:\"{Path.GetFullPath(results.PathToAssembly)}\" {string.Join(" ", sourceFileNames.Select(fn => '"' + Path.GetFullPath(fn) + '"'))}")
|
|
|
|
|
.WithValidation(CommandResultValidation.None); |
|
|
|
|
Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}"); |
|
|
|
|
//Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}");
|
|
|
|
|
|
|
|
|
|
var result = await command.ExecuteBufferedAsync().ConfigureAwait(false); |
|
|
|
|
|
|
|
|
|