Skip to content

Commit 7be7e2e

Browse files
committed
[dotnet] fix the framework conditionals for Selenium Manager
1 parent 73f9351 commit 7be7e2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/webdriver/SeleniumManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
using System.Collections.Generic;
2121
using System.Diagnostics;
2222

23-
#if !NETFRAMEWORK
23+
#if !NET45 && !NET46 && !NET47
2424
using System.Runtime.InteropServices;
2525
#endif
2626

@@ -70,7 +70,7 @@ private static string Binary
7070
{
7171
if (string.IsNullOrEmpty(binary))
7272
{
73-
#if NETFRAMEWORK
73+
#if NET45 || NET46 || NET47
7474
binary = "selenium-manager/windows/selenium-manager.exe";
7575
#else
7676
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

0 commit comments

Comments
 (0)