cherry-pick(#12003): docs: avoid .net version ambiguity (#12040)

SHA 1df07aa2cf

Co-authored-by: Erik Ejlskov Jensen <ErikEJ@users.noreply.github.com>
This commit is contained in:
Andrey Lushnikov 2022-02-11 10:39:50 -07:00 committed by GitHub
parent 1d4521a12e
commit b9d665caf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ cd PlaywrightDemo
dotnet add package Microsoft.Playwright dotnet add package Microsoft.Playwright
# Build the project # Build the project
dotnet build dotnet build
# Install required browsers # Install required browsers - replace netX with actual output folder name, f.ex. net6.0.
pwsh bin\Debug\netX\playwright.ps1 install pwsh bin\Debug\netX\playwright.ps1 install
# If the pwsh command does not work (throws TypeNotFound), make sure to use an up-to-date version of PowerShell. # If the pwsh command does not work (throws TypeNotFound), make sure to use an up-to-date version of PowerShell.