-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on project with TargetFrameworks including net6.0
fails with: "The exception has been reported."
#618
Comments
This one is not working in the master branch either. |
@Thorium does linting the solution (instead of the project file) yield a different stack trace? |
No it's the same. I found the issue: FSharpLint is compiled with net5.0. |
Ok thanks, then this is a duplicate of #336 . Closing. |
I think the problem was not .NET Framework, but rather that the project was targeting only more recent .NET than what FSharpLint uses. |
Oh, oops! Reopening. |
net6.0
fails with: "The exception has been reported."
Weirdly enough I have other projects that do work with these ones:
|
Is is related to that FunStripe project having type providers (FSharp.Data) in it? |
this has too and it works fine: https://github.com/Thorium/ClearBank.Net |
It does fail for some provided types thing:
|
That looks like a different bug, please file a new ticket (and I bet it's related to the fact that the project you're targetting is net7.0? judging by the 7.0 version of FSharp.Core mentioned in the error...) |
And don't delete your "minimal repro" msg please :) |
F# version is not related to .net version. FunStripe uses F# 7 on .NET 6. But that's the same config that the other mentioned ClearBank.NET, which does work. |
I was not referring to F# version but to FSharp.Core (nuget pkg) version, which, in the last releases of .NET match their release dates (7.0 is released when .NET7.0 is released, etc). |
Trying the tool with one sample:
Expected: Run and produce a lot of issues.
Actual:
The text was updated successfully, but these errors were encountered: