Skip to content

.NET SDK >= 10.0.200 #20666

Closed
Closed

Description

@kant2002

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:

  1. Add <LangVersion>7.0</LangVersion>
  2. 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.

Screenshot of error from 10.0.401

Image

Activity

  1. added theissue type on Sep 30, 2026
  2. added this to the Backlog milestone on Sep 30, 2026
  3. T-Gro commented on Sep 30, 2026

    @T-Gro
    Member

    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.

  4. kant2002 commented on Sep 30, 2026

    @kant2002
    ContributorAuthor

    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.

  5. Lanayx commented on Sep 30, 2026

    @Lanayx
    Contributor

    @T-Gro I think the issue is error message, it should say the latest supported sdk is 10.0.200, not just 10

  6. added
    Area-Diagnostics
    and removed on Oct 16, 2026
  7. self-assigned this
    on Oct 16, 2026
  8. added a commit that references this issue on Oct 19, 2026
    6fd91a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-DiagnosticsBug

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions