Skip to content

Commit 39ad475

Browse files
committed
Remove wrong logic for exe -> dll
1 parent f388e17 commit 39ad475

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/YTest.MTP.XUnit2/MTPFramework/XUnit2MTPTestFramework.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ public async Task ExecuteRequestAsync(ExecuteRequestContext context)
7676

7777
var assemblyPath = assembly.Location;
7878

79-
#if !NETFRAMEWORK
80-
if (OperatingSystem.IsWindows())
81-
#endif
82-
{
83-
// Change .exe to .dll
84-
assemblyPath = Path.ChangeExtension(assemblyPath, "dll");
85-
}
86-
8779
if (!File.Exists(assemblyPath))
8880
{
8981
throw new FileNotFoundException("XUnit2 MTP adapter cannot find the test assembly.", assemblyPath);

0 commit comments

Comments
 (0)