|
|
@ -165,6 +165,9 @@ namespace SixLabors.ImageSharp.Tests |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Locate and run CorFlags.exe:
|
|
|
|
|
|
try |
|
|
|
|
|
{ |
|
|
string windowsSdksDir = Path.Combine(Environment.GetEnvironmentVariable("PROGRAMFILES(x86)"), |
|
|
string windowsSdksDir = Path.Combine(Environment.GetEnvironmentVariable("PROGRAMFILES(x86)"), |
|
|
"Microsoft SDKs", "Windows"); |
|
|
"Microsoft SDKs", "Windows"); |
|
|
|
|
|
|
|
|
@ -183,8 +186,6 @@ namespace SixLabors.ImageSharp.Tests |
|
|
RedirectStandardError = true |
|
|
RedirectStandardError = true |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
try |
|
|
|
|
|
{ |
|
|
|
|
|
using var proc = Process.Start(si); |
|
|
using var proc = Process.Start(si); |
|
|
proc.WaitForExit(); |
|
|
proc.WaitForExit(); |
|
|
string standardOutput = proc.StandardOutput.ReadToEnd(); |
|
|
string standardOutput = proc.StandardOutput.ReadToEnd(); |
|
|
|