From dd50e28b9b5ad41c9f58455be8e6a8c3d87a6edf Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Sat, 14 Sep 2024 21:08:13 +0300 Subject: [PATCH] [dotnet] Workaround using pre-processor directive (#14499) * [dotnet] Workaround using pre-processor directive * Fix formatting? * Fix formatting --- dotnet/src/webdriver/BUILD.bazel | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotnet/src/webdriver/BUILD.bazel b/dotnet/src/webdriver/BUILD.bazel index dd7f9237b5094..1f23755fa1025 100644 --- a/dotnet/src/webdriver/BUILD.bazel +++ b/dotnet/src/webdriver/BUILD.bazel @@ -67,6 +67,9 @@ csharp_library( "**/*.cs", ]) + devtools_version_targets(), out = "WebDriver", + defines = [ + "NET8_0_OR_GREATER", + ], internals_visible_to = [ "WebDriver.Common.Tests", ], @@ -128,6 +131,9 @@ csharp_library( "**/*.cs", ]) + devtools_version_targets(), out = "WebDriver.StrongNamed", + defines = [ + "NET8_0_OR_GREATER", + ], keyfile = "//dotnet:WebDriver.snk", langversion = "12.0", resources = [