Skip to content

Can't build FCS in main #18824

@auduchinok

Description

@auduchinok

When trying to build FCS, this is the error I'm getting:

eugene@Eugenes-Lab:fsharp [main]$ dotnet build FSharp.Compiler.Service.sln
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'build' does not exist or is not a managed .dll or .exe.
  * You intended to execute a .NET SDK command:
      The .NET SDK could not be found, please run ./eng/common/dotnet.sh.

I do have the latest .NET 10 preview installed.
Apparently, global.json specifies an unreleased .NET SDK version since yesterday. Can this be reverted? It's not possible to build the project in main anymore.

Can we somehow prevent this from happening in future?
Can we return to requiring a release .NET SDK version only, at least for building FCS? It should be possible to have a separate global.json and CI would save us from a situation like this.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions