diff --git a/dotnet/src/webdriver/WebDriver.csproj b/dotnet/src/webdriver/WebDriver.csproj
index 2752b1c0c300c..6a23f9a79795a 100644
--- a/dotnet/src/webdriver/WebDriver.csproj
+++ b/dotnet/src/webdriver/WebDriver.csproj
@@ -44,13 +44,6 @@
-
-
-
-
-
-
-
@@ -58,43 +51,11 @@
-
-
-
-
-
-
- False
- webdriver_prefs.json
-
-
- False
- get-attribute.js
-
-
- False
- is-displayed.js
-
-
- False
- find-elements.js
-
-
- False
- mutation-listener.js
-
-
-
-
-
-
-
- ..\..\..\bazel-bin\dotnet\src\webdriver\manager
..\..\..\bazel-bin\dotnet\src\webdriver\images
@@ -109,12 +70,50 @@
-
-
+
+
+
+
+ ..\..\..\bazel-bin\dotnet\src\webdriver\manager
+
-
-
+
+
+
+
+
+ False
+ webdriver_prefs.json
+
+
+ False
+ get-attribute.js
+
+
+ False
+ is-displayed.js
+
+
+ False
+ find-elements.js
+
+
+ False
+ mutation-listener.js
+
+
+
+
+
+
+
+
+
+
diff --git a/dotnet/src/webdriver/WebDriver.csproj.prebuild.cmd b/dotnet/src/webdriver/WebDriver.csproj.prebuild.cmd
deleted file mode 100644
index 084839ae475b8..0000000000000
--- a/dotnet/src/webdriver/WebDriver.csproj.prebuild.cmd
+++ /dev/null
@@ -1,16 +0,0 @@
-@echo off
-echo Building Selenium Manager binaries
-bazel build //dotnet/src/webdriver:manager-linux
-bazel build //dotnet/src/webdriver:manager-windows
-bazel build //dotnet/src/webdriver:manager-macos
-
-echo Building atoms
-bazel build //javascript/webdriver/atoms:get-attribute.js
-bazel build //javascript/atoms/fragments:is-displayed.js
-bazel build //javascript/atoms/fragments:find-elements.js
-
-echo Generating CDP code
-bazel build //dotnet/src/webdriver/cdp:generate-v85
-bazel build //dotnet/src/webdriver/cdp:generate-v118
-bazel build //dotnet/src/webdriver/cdp:generate-v119
-bazel build //dotnet/src/webdriver/cdp:generate-v120
diff --git a/dotnet/src/webdriver/WebDriver.csproj.prebuild.sh b/dotnet/src/webdriver/WebDriver.csproj.prebuild.sh
deleted file mode 100755
index 7eb67769b47dc..0000000000000
--- a/dotnet/src/webdriver/WebDriver.csproj.prebuild.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-echo "Building Selenium Manager binaries"
-bazel build //dotnet/src/webdriver:manager-linux
-bazel build //dotnet/src/webdriver:manager-windows
-bazel build //dotnet/src/webdriver:manager-macos
-
-echo "Building atoms"
-bazel build //javascript/webdriver/atoms:get-attribute.js
-bazel build //javascript/atoms/fragments:is-displayed.js
-bazel build //javascript/atoms/fragments:find-elements.js
-
-echo "Generating CDP code"
-bazel build //dotnet/src/webdriver/cdp:generate-v85
-bazel build //dotnet/src/webdriver/cdp:generate-v118
-bazel build //dotnet/src/webdriver/cdp:generate-v119
-bazel build //dotnet/src/webdriver/cdp:generate-v120