Skip to content

Fable 4 + .NET 10 SDK: "Project and references (0 source files) parsed in ..." #4252

@cr3wdayt5p

Description

@cr3wdayt5p

Hi

I just installed the new .NET SDK version: 10.0.100

But this appears to break the compilation of my Fable 4 project. It finds no source files and gives the following success message:

Build succeeded in 0.5s
Project and references (0 source files) parsed in 4586ms

(but clearly it did something behind the scenes since it took 4+ seconds)

If I pin the SDK to version 9.0.305 then everything works fine.


Question: Is Fable 4 not compatible with .NET 10 SDK?
I have tested with both version 4.24 and 4.25. Same result.

I have also tested with Fable 5 version 5.0.0-alpha.14. This version does not have the issue. It finds all the source files, and start the compilation as expected (but in my case it fails due to some of the new null safety features).

The project in question has a .NET 8 TFM:

<TargetFramework>net8.0</TargetFramework>

But bumping this to either net9.0 or net10.0 does not change the result (still 0 source files).

The project builds without issues with dotnet build.


Workaround

Pin the SDK to version to some .NET 9 version with global.json, e.g.:

{
    "sdk": {
        "version": "9.0.305",
        "rollForward": "latestFeature"
    }
}

Machine config

  • OS: macOS 26.1
  • .NET SDK versions: 9.0.305 and 10.0.100
  • Fable versions: 4.24, 4.25 and 5.0.0-alpha.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions