Skip to content

Commit dd50e28

Browse files
authoredSep 14, 2024··
[dotnet] Workaround using pre-processor directive (#14499)
* [dotnet] Workaround using pre-processor directive * Fix formatting? * Fix formatting
1 parent 210012b commit dd50e28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

Diff for: ‎dotnet/src/webdriver/BUILD.bazel

+6
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ csharp_library(
6767
"**/*.cs",
6868
]) + devtools_version_targets(),
6969
out = "WebDriver",
70+
defines = [
71+
"NET8_0_OR_GREATER",
72+
],
7073
internals_visible_to = [
7174
"WebDriver.Common.Tests",
7275
],
@@ -128,6 +131,9 @@ csharp_library(
128131
"**/*.cs",
129132
]) + devtools_version_targets(),
130133
out = "WebDriver.StrongNamed",
134+
defines = [
135+
"NET8_0_OR_GREATER",
136+
],
131137
keyfile = "//dotnet:WebDriver.snk",
132138
langversion = "12.0",
133139
resources = [

0 commit comments

Comments
 (0)
Please sign in to comment.