Skip to content

Commit 96404fd

Browse files
committed
Update to net8
1 parent 30555eb commit 96404fd

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ In this repository, **Cursor** was used as the AI agent to:
4949
### Windows 11
5050

5151
- **Prerequisites**
52-
- Install **.NET SDK 8 or later** (this project targets `net10.0`):
52+
- Install **.NET SDK 8 or later** (this project targets `net8.0`):
5353
- Download from [.NET downloads](https://dotnet.microsoft.com/en-us/download).
5454
- Ensure **PowerShell** is available (Windows 11 ships with it by default).
5555
- (Optional) Install **Git** from [git-scm.com](https://git-scm.com/).
@@ -66,7 +66,7 @@ dotnet restore Tests.csproj
6666

6767
```bash
6868
dotnet build Tests.csproj
69-
pwsh bin/Debug/net10.0/playwright.ps1 install --with-deps
69+
pwsh bin/Release/net8.0/playwright.ps1 install --with-deps
7070
```
7171

7272
### macOS (MacBook)
@@ -97,7 +97,7 @@ dotnet restore Tests.csproj
9797

9898
```bash
9999
dotnet build Tests.csproj
100-
pwsh bin/Debug/net10.0/playwright.ps1 install --with-deps
100+
pwsh bin/Release/net8.0/playwright.ps1 install --with-deps
101101
```
102102

103103
> On macOS, if `pwsh` is not installed, install PowerShell via Homebrew (`brew install powershell`) or use `dotnet tool install --global Microsoft.Playwright.CLI` and then `playwright install`.
@@ -146,7 +146,7 @@ dotnet build Tests.csproj
146146
2. **Install Playwright browsers** (first time or after browser updates):
147147

148148
```bash
149-
pwsh bin/Debug/net10.0/playwright.ps1 install --with-deps
149+
pwsh bin/Release/net8.0/playwright.ps1 install --with-deps
150150
```
151151

152152
3. **Run all tests**
@@ -351,7 +351,7 @@ Commands used inside `.github/workflows/playwright-tests.yml`:
351351
- Builds the test project in Release configuration without restoring packages again.
352352
- Docs: [Build command](https://learn.microsoft.com/dotnet/core/tools/dotnet-build).
353353

354-
- **`pwsh bin/Release/net10.0/playwright.ps1 install --with-deps`**
354+
- **`pwsh bin/Release/net8.0/playwright.ps1 install --with-deps`**
355355
- Runs the Playwright CLI script generated by the .NET SDK to install required browsers and OS dependencies.
356356
- Docs: [Playwright CLI](https://playwright.dev/dotnet/docs/cli).
357357

@@ -467,7 +467,7 @@ In short, `obj/` is MSBuild’s working directory; you almost never touch files
467467
`Tests.csproj` is the **project file** that tells the .NET SDK how to build and run the test suite:
468468

469469
- **Target and language**
470-
- `TargetFramework` is set to `net10.0`, so the project compiles against .NET 10.
470+
- `TargetFramework` is set to `net8.0`, so the project compiles against .NET 10.
471471
- `LangVersion` is `latest`, enabling the newest C# language features supported by the installed SDK.
472472
- `ImplicitUsings` is `enable`, so common namespaces are added automatically (and emitted into `Tests.GlobalUsings.g.cs`).
473473
- `Nullable` is `enable`, turning on nullable reference type analysis for safer APIs.
@@ -492,9 +492,9 @@ Together, **`Tests.csproj`** defines *what* to build and *which libraries* to us
492492

493493
## Understanding the `bin` Folder
494494

495-
Where `obj/` holds **intermediate build artifacts**, the `bin/` folder contains the **final, runnable outputs** for each configuration (`Debug` / `Release`) and target framework (`net10.0` in this project).
495+
Where `obj/` holds **intermediate build artifacts**, the `bin/` folder contains the **final, runnable outputs** for each configuration (`Debug` / `Release`) and target framework (`net8.0` in this project).
496496

497-
For example, under `bin/Debug/net10.0` you’ll find:
497+
For example, under `bin/Debug/net80.0` you’ll find:
498498

499499
- **`Tests.dll` and `Tests.pdb`**
500500
- `Tests.dll` is the **compiled test assembly** that `dotnet test` executes.
@@ -519,7 +519,7 @@ For example, under `bin/Debug/net10.0` you’ll find:
519519
- `playwright.ps1` – PowerShell script entry point to the Playwright CLI for this project; used in CI and local setup to install browsers:
520520

521521
```bash
522-
pwsh bin/Debug/net10.0/playwright.ps1 install --with-deps
522+
pwsh bin/Release/net8.0/playwright.ps1 install --with-deps
523523
```
524524

525525
- **Copied configuration / data**

0 commit comments

Comments
 (0)