You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the 'records' feature and others latest additions of C# 9 in a script project, but OmniSharp seems to be configured with LanguageVersion.CSharp8 hardcoded in ScriptProjectProvider and complaints about the feature not being available in C# 8.
Not sure if this value can be updated to CSharp9 or Latest without breaking existing projects. Any chance this may be configured throught omnisharp.json in it's script section?
Thanks!!
Germán
The text was updated successfully, but these errors were encountered:
germanftorres
changed the title
Unable to use c# 9 in script project
Unable to use C# 9 in a script project
Nov 4, 2020
Hi!,
I'm trying to use the 'records' feature and others latest additions of C# 9 in a script project, but OmniSharp seems to be configured with
LanguageVersion.CSharp8
hardcoded inScriptProjectProvider
and complaints about the feature not being available in C# 8.omnisharp-roslyn/src/OmniSharp.Script/ScriptProjectProvider.cs
Line 46 in 93d2807
Not sure if this value can be updated to
CSharp9
orLatest
without breaking existing projects. Any chance this may be configured throughtomnisharp.json
in it's script section?Thanks!!
Germán
The text was updated successfully, but these errors were encountered: