Closed
Description
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.