You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FSharp.Core "redirects: force" warning for projects that target net5.0 and later #4455
With Paket 12.0.0-alpha001, paket install warns about every F# project that targets .NET 5 or later:
F# project .../FsAutoComplete.Logging.fsproj references FSharp.Core without specifying "redirects: force" in paket.dependencies. This can lead to "Could not load file or assembly 'FSharp.Core'" errors at runtime. See https://fsprojects.github.io/Paket/dependencies-file.html#redirects-settings for details.
We try Paket 12.0.0-alpha001 in FsAutoComplete. None of its projects target the .NET Framework (they target net8.0, net9.0 and net10.0), and Paket 10.3.1 printed no warning. Binding redirects do not apply to these projects, so the warning is a false positive.
Cause
shouldWarnAboutFSharpCoreRedirects treats every FrameworkIdentifier.DotNetFramework _ as the .NET Framework. Paket also models .NET 5 and later as DotNetFramework V5 to V10, so a net8.0 project matches. Paket.Core 12.0.0-alpha001 returns this for the projects above:
Thanks for the precise diagnosis, @nojaf. I opened a draft PR that stops counting DotNetFramework V5–V11 as the .NET Framework in shouldWarnAboutFSharpCoreRedirects, with net8.0 unit tests. It couldn't be built in my sandbox, so CI will be the first real check.
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
Activity
Update all tools (#1563)
nojaf commentedon Oct 13, 2026
/repo-assist go for it!
github-actions commentedon Oct 16, 2026
🤖 This is an automated response from Repo Assist.
Thanks for the precise diagnosis,
@nojaf. I opened a draft PR that stops countingDotNetFramework V5–V11as the .NET Framework inshouldWarnAboutFSharpCoreRedirects, withnet8.0unit tests. It couldn't be built in my sandbox, so CI will be the first real check.Add this agentic workflow to your repo
To install this agentic workflow, run