We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8972041 commit 22a0df2Copy full SHA for 22a0df2
src/MediaConverters/MediaConverters.Tests/Framework/TestHelper.cs
@@ -31,7 +31,12 @@ public static void OpenFileInExplorer(string filePath)
31
{
32
if (File.Exists(filePath))
33
34
- Process.Start(new ProcessStartInfo("explorer", $"\"{filePath}\"") { UseShellExecute = true });
+#if DEBUG
35
+ if (Debugger.IsAttached)
36
+ {
37
+ Process.Start(new ProcessStartInfo("explorer", $"\"{filePath}\"") { UseShellExecute = true });
38
+ }
39
+#endif
40
}
41
else
42
0 commit comments