Skip to content

Add multi-framework support: netstandard2.1, net8.0, net10.0#110

Open
tonyqus wants to merge 3 commits intofsprojects:masterfrom
tonyqus:master
Open

Add multi-framework support: netstandard2.1, net8.0, net10.0#110
tonyqus wants to merge 3 commits intofsprojects:masterfrom
tonyqus:master

Conversation

@tonyqus
Copy link
Copy Markdown

@tonyqus tonyqus commented Apr 17, 2026

Adds multi-targeting to the main library and upgrades the test/CI stack from the EOL netcoreapp6.0/.NET 6 baseline.

Changes

  • ExcelFinancialFunctions.fsprojTargetFrameworkTargetFrameworks: netstandard2.0;netstandard2.1;net8.0;net10.0 (retains netstandard2.0 for backward compat)
  • ExcelFinancialFunctions.Tests.fsprojnetcoreapp6.0net8.0
  • CI workflows (pull-requests.yml, push-master.yml) — dotnet-version: 6.0.x8.0.x + 10.0.x; actions/checkout@v2@v4; actions/setup-dotnet@v1@v4
  • common.fs — Fixes FS0041 overload ambiguity on DateTime introduced in .NET 8, which added a DateTime(DateOnly, TimeOnly, DateTimeKind) overload that confuses the F# compiler when argument types are unresolved:
// Before — ambiguous in .NET 8+
let date y m d = new DateTime(y, m, d)

// After
let date (y: int) (m: int) (d: int) = new DateTime(y, m, d)

Copilot AI and others added 3 commits April 17, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants