-
Notifications
You must be signed in to change notification settings - Fork 789
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
Unresolved symbols in FCS solution #12142
Comments
May be related to: #11968 and #12108 |
@dsyme @KevinRansom What FSharp.Core version these changes are going to land to? Will it be 5.0.3 or 6.0? Right now working on FCS is much harder due to these errors. Also, we'd prefer to keep using stable FSharp.Core versions and update when needed (there's some additional work we have to do update the bundled FSharp.Core). |
It looks like
should be
|
I mean, if we're using a package it should be a shipped package. |
@dsyme Could you reopen it? |
It seems that #12149 didn't fix it, going to reopen it. |
@auduchinok Could you give me steps to repro this?
There is however a warning marker on this 5.0.2 FSharp.Core references which I don't understand (and can't work out what warning that is referring to) |
They do appear for me in VS2019 and Rider 2021.3 preview. I've reproduced it roughly like this:
and then open the FCS solution in an IDE. What I've managed to discover is the conditional FSharp.Core reference is being ignored completely here, and another one transitively comes from FSharp.DependencyManager.Nuget project, where it's not conditional and always references the project output. I suspect the warning you see could be related here. The workaround that helps me is changing the reference in that project. |
I see, yes, that makes sense, we should adjust that too |
This line now produces an error (despite the project actually building fine):
fsharp/src/fsharp/absil/illib.fs
Line 1157 in 4ee2816
It probably happens due to a recent
Map
change in FSharp.Core. I thought we were trying to be able to use the released FSharp.Core package in FCS, so this error is unexpected. It's also interesting why the project builds (i.e. what FSharp.Core it actually uses?) and why the tooling behaves differently?Rider:
Visual Studio 2019:
The text was updated successfully, but these errors were encountered: