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
The .NET SDK 10 ship version of F# which don't support LangVersion = 7.0
Repro steps
Provide the steps required to reproduce the problem:
Add <LangVersion>7.0</LangVersion>
dotnet build
I pin SDK version using global.json.
Version 10.0.112 working, but 10.0.204 and 10.0.401 is not. This prevents resurrecting F* export process quite a bit. Good that at least 10.0.112 is working, but given that something is changed during application of patches, I fear that even 10.0.100 line become broken.
I attach screenshot to ticket body. I need not F# 7 perse, but --strict-indentation- flag for F* export. Thankfully they couple days ago rewrote their export, so probably it's not needed. But the error message is really confusing. For me this is indication of some issues with release process.
Activity
T-Gro commentedon Sep 30, 2026
This is not a bug, it is by design.
Why do you need langversion 7 in the first place?
SDK that has shipped NET7 and F#7 is out of support now.
kant2002 commentedon Sep 30, 2026
I attach screenshot to ticket body. I need not F# 7 perse, but
--strict-indentation-flag for F* export. Thankfully they couple days ago rewrote their export, so probably it's not needed. But the error message is really confusing. For me this is indication of some issues with release process.Lanayx commentedon Sep 30, 2026
@T-Gro I think the issue is error message, it should say the latest supported sdk is 10.0.200, not just 10
Correct FS3880 guidance for unsupported language versions (dotnet#20795)