Skip to content

Target net10.0 and net11.0 in 7.0.0; drop netstandard2.0 #108

Description

@AtwoodTM

Problem

6.0.0 targets netstandard2.0 + net10.0. netstandard2.0 is the Framework / Windows-shaped floor: it keeps FSharp.Core at 4.7.2, Microsoft.CSharp as a package reference, and the library compilable against an API surface that is no longer the product. CONTRIBUTING.md currently says not to drop it.

7.0.0 drops that floor. Going forward this library targets the current LTS (even versions) and the current STS when one exists. Right now that is .NET 10 (LTS) and .NET 11 (STS). .NET 11 is in RC (GA expected November 2026); this issue is the preview/RC targeting work so 7.0.0 ships net10.0 + net11.0.

That is a TFM break, so the version is 7.0.0, not 6.1.0.

What this issue covers

  • Package and tests compile for net10.0 and net11.0 only. No netstandard2.0, no net4x.
  • CI uses a .NET 11 SDK (preview/RC until GA) and still runs on Linux, Windows, and macOS.
  • Dependency floors that existed only to serve Framework / netstandard2.0 move forward with the TFMs (FSharp.Core, Microsoft.CSharp as a framework reference on modern TFMs, analyzer and test packages).
  • Docs, README, CHANGELOG, CONTRIBUTING, and the 6.0.0 "netstandard2.0 is deliberate" note are updated so they describe 7.0.0's TFMs and the LTS+STS policy.
  • VersionPrefix becomes 7.0.0.

Not this issue

  • Publishing 7.0.0 to nuget.org (follow-on, after this builds and tests).
  • Switching Dynamitey 3.0.3 to the community 4.0.0 package (#29, #107). That can ship in the same 7.0.0, but it is a separate decision.
  • Vendoring Dynamitey into this repo (#107).
  • NativeAOT / trimming. Still DLR; still not trim-safe.

Acceptance

  • FSharp.Interop.Dynamic.fsproj TargetFrameworks is net10.0;net11.0.
  • Tests build and pass on net10.0 and net11.0 on Linux, Windows, and macOS.
  • The nupkg has no netstandard2.0 asset.
  • README / DocFX / CHANGELOG / CONTRIBUTING state 7.0.0 TFMs and the LTS+STS rule. They no longer tell contributors to keep netstandard2.0.
  • VersionPrefix is 7.0.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    7.0.0Ships in 7.0.0 (net10 + net11)

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions