title: Has anyone gotten Playwright installed and running on Windows Server?
body: <p>I built a tool using Playwright dotnet, and it runs great locally. I'm trying to deploy it on my Windows server so other people can use it, and the problem is getting the headless browsers properly installed on the server.</p>
  <p>If I do all of the quickstart tasks on <a href="https://playwright.dev/dotnet/docs/intro" rel="nofollow noreferrer">https://playwright.dev/dotnet/docs/intro</a> within Windows PowerShell out on the server, it goes fine until the <code>playwright install</code> step. At that point I get the following Error:</p>
  <blockquote>
  <p>Unhandled Exception: System.IO.FileNotFoundException: Could not load the file or assembly 'System.Runtime, Version=5.0.0.0...</p>
  </blockquote>
  <p>Even if I try inputting the command <code>dotnet add package System.Runtime</code> it adds the package, but then when I try <code>playwright install</code> again, it throws the same error.</p>
  <p>I even went so far as to try deploying the app anyway, and when I get to the part that requires Playwright, it says:</p>
  <blockquote>
  <p><code>Looks like Playwright Test or Playwright was just installed or updated. </code>
  <code>Please run the following command to download new browsers: </code></p>
  <p><code>npx playwright install</code></p>
  </blockquote>
  <p><em>(PS, it's stupid that the validator insists the above error is code and won't let me submit unless this is formatted this way)</em></p>
  <p>So I said screw it and installed Node on the server, then ran the npx command, and it says it installed the browsers, but I still get the same error telling me to run the npx command.</p>
  <p>Has anyone had any luck getting Playwright installed and implemented on a Windows server?</p>