Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add net6.0 TFM for Microsoft.Playwright.CLI #1668

Closed
martincostello opened this issue Aug 11, 2021 · 2 comments
Closed

[Feature]: Add net6.0 TFM for Microsoft.Playwright.CLI #1668

martincostello opened this issue Aug 11, 2021 · 2 comments

Comments

@martincostello
Copy link
Contributor

Feature request

While targeting the .NET 6 pre-releases it is necessary to install both the .NET 5 and .NET 6 SDKs in a CI environment so that Microsoft.Playwright.CLI is able to run successfully. Otherwise it outputs an errors similar to this when playwright install is run:

    It was not possible to find any compatible framework version
    The framework 'Microsoft.NETCore.App', version '5.0.0' was not found.
      - The following frameworks were found:
          6.0.0-preview.7.21377.19 at [/home/runner/.dotnet/shared/Microsoft.NETCore.App]
    
    You can resolve the problem by installing the specified framework and/or SDK.
    
    The specified framework can be found at:
      - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=ubuntu.20.04-x64

This is fine as a workaround for now, but the tool should support running under the .NET 6 runtime once it is generally available in November.

@TanayParikh
Copy link

@martincostello's suggestion here helped workaround this issue for now (Thanks!). Just leaving this comment as a reference for others who may encounter this issue.

@mxschmitt
Copy link
Member

This should be fixed in 1.2.1 of the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants