Skip to content

Revert language version fix and find another fix? #1544

Closed
@andyleejordan

Description

@andyleejordan

In #1541 we updated the language version from 9.0 to 10.0 to workaround a bug with .NET 6 Preview 7; however, this isn't the greatest workaround because it requires everyone building PSES to update their dotnet:

CSC : error CS1617: Invalid option '10.0' for /langversion. Use '/langversion:?' to list supported values. [/Users/andschwa/src/PowerShellEditorServices/src/PowerShellEditorServices/PowerShellEditorServices.csproj]

We didn't realize this because the CI always comes with an up-to-date dotnet.

The simply solution is for PSES devs to just delete .dotnet and let the build script install the latest, but perhaps we should fix it another way.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions