From 0e7e63f09f4dc9c98432663d1ea2e7342498c0db Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 26 Jan 2022 21:26:51 +0100 Subject: [PATCH] docs(dotnet): bundle driver for different platforms (#11643) --- docs/src/intro-csharp.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/src/intro-csharp.md b/docs/src/intro-csharp.md index b8f4542716..2b28cccf38 100644 --- a/docs/src/intro-csharp.md +++ b/docs/src/intro-csharp.md @@ -134,6 +134,24 @@ if (exitCode != 0) } ``` +## Bundle drivers for different platforms + +Playwright by default does bundle only the driver for the .NET publish target runtime. If you want to bundle for additional platforms, you can +override this behavior by using either `all`, `none` or `linux`, `win`, `osx` in your project file. + +```xml + + all + +``` + +or: + +```xml + + osx;linux + + ## System requirements The browser binaries for Chromium, Firefox and WebKit work across the 3 platforms (Windows, macOS, Linux):