Skip to content

[repo-assist] Don't warn about FSharp.Core redirects for net5.0+ projects - #4457

Merged
fpellet merged 2 commits into
masterfrom
repo-assist/fix-issue-4455-fsharpcore-redirects-warning-fc2574440698ccba
Oct 17, 2026
Merged

fpellet merged 2 commits into
masterfrom
repo-assist/fix-issue-4455-fsharpcore-redirects-warning-fc2574440698ccba

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Repo Assist here — an automated AI assistant.

Closes #4455

Root cause: shouldWarnAboutFSharpCoreRedirects treated every FrameworkIdentifier.DotNetFramework _ as the classic .NET Framework, but Paket models net5.0+ as DotNetFramework V5..V11, so net8.0 projects got a false-positive warning.

Fix: DotNetFramework V5–V11 no longer counts as .NET Framework. Added unit tests for net8.0 (no warning) and net48+net8.0 multi-targeting (warns). Added a release-notes bullet.

Trade-offs: explicit version list means a future V12 must be added (same as other matches over FrameworkVersion).

Test Status

⚠️ Not built or run: dotnet paket restore failed in the sandbox (tool restore/no network), so the test project could not be compiled. The change is small and type-checked only by inspection; please rely on CI.

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@b4e175bab6674279e0fe158f7dc877b77bc9d92f

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nojaf

nojaf commented Oct 16, 2026

Copy link
Copy Markdown

Hello, we would be interested for a v12 alpha release with this fix if possible!
Thx!

@fpellet
fpellet marked this pull request as ready for review October 17, 2026 09:46
@fpellet
fpellet merged commit 84d3331 into master Oct 17, 2026
4 checks passed
@fpellet
fpellet deleted the repo-assist/fix-issue-4455-fsharpcore-redirects-warning-fc2574440698ccba branch October 17, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FSharp.Core "redirects: force" warning for projects that target net5.0 and later

2 participants