Skip to content

Commit 62f6f69

Browse files
authored
[dotnet] The prebuild scripts is already decommissioned (#14591)
* [dotnet] The prebuild scripts is already decommissioned * And don't specify exact cdp version in csproj
1 parent 7c9f000 commit 62f6f69

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

dotnet/src/webdriver/WebDriver.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</Target>
107107

108108
<Target Name="GenerateCdp" BeforeTargets="CoreCompile">
109-
<Exec Command="bazel build //dotnet/src/webdriver/cdp:generate-v85 //dotnet/src/webdriver/cdp:generate-v127 //dotnet/src/webdriver/cdp:generate-v128 //dotnet/src/webdriver/cdp:generate-v129" WorkingDirectory="../../.." />
109+
<Exec Command="bazel build //dotnet/src/webdriver/cdp/..." WorkingDirectory="../../.." />
110110

111111
<ItemGroup>
112112
<Compile Include="..\..\..\bazel-bin\dotnet\src\webdriver\cdp\**\*.cs" LinkBase="DevTools\generated" />

dotnet/src/webdriver/cdp/README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,4 @@ perform the following steps, where `<N>` is the major version of the protocol:
5252
remove the entry for version `<N>` from the `SupportedDevToolsVersions` dictionary initialization.
5353
3. Remove the version string (`v<N>`) from the `SUPPORTED_DEVTOOLS_VERSIONS` list in
5454
[`//dotnet:selenium-dotnet-version.bzl`](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/selenium-dotnet-version.bzl).
55-
4. In [`//dotnet/src/webdriver:WebDriver.csproj.prebuild.cmd`](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/WebDriver.csproj.prebuild.cmd),
56-
remove the `if not exist` block for version `<N>`.
57-
5. In [`//dotnet/src/webdriver:WebDriver.csproj.prebuild.sh`](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/WebDriver.csproj.prebuild.sh),
58-
remove the `if-fi` block for version `<N>`.
59-
6. Commit the changes.
60-
55+
4. Commit the changes.

0 commit comments

Comments
 (0)