-
Notifications
You must be signed in to change notification settings - Fork 124
bump FCS TFM to net472, and add netstandard references where necessary #954
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
Conversation
|
is there any need for full framework release at all? If we bump to Net472 we could just use netstandard only - someone targeting net472 can use netstandard20 without any problem |
|
Personally I'd would be all in favor of that solution as well. We could still maintain netfx and netcoreapp tests based off that same netstandard assembly if we needed to ensure coverage. |
|
We still have to net461 in Rider/R# plugins, so it or netstandard2.0 would be something I'd prefer too. :) |
|
@auduchinok does that mean you are broken right now off of dotnet/fsharp@master, since these net472 MSBuild references are required? |
|
I've probably missed when it had happened and haven't updated our FCS package yet. Ill need to check it and probably raise an issue there. |
well it was just a couple days ago so that's forgivable :D |
|
@baronfel , commenting per your tweet request. This move is probably not a problem for me, the developer of FSharpFar. This might be a problem for some users. FSharpFar is a plugin for Far Manager, OTOH, FSharp.Core seems to be moving to netstandard2.0, per dotnet/fsharp#9801 |
|
@baronfel May I ask some side questions?
|
|
@nightroman thank you for chiming in here :) the answer is 'yes' to both of your questions. They have been added (as best as I understand) to flesh out/enhance/make more correct the reference resolver logic that is already baked into FCS. There was already a simple reference resolver, and an externally-available one in the associated FCS.MsBuild package, but with MSBuild and its libraries being cross-platform these days it makes sense to bring them into the fold. |
I'm ok with moving to netstandard2.0 @auduchinok Any chance of netstandard2.0 becoming an acceptable dependency for Rider? |
|
@dsyme Sorry for the long reply. Yes, we use netstandard2.0 FCS in Rider now. We still have to target net461 in the plugin itself, though, but it seems to work fine now: there was a broken case with DependencyManager that @KevinRansom has fixed. I'll just keep reporting if something gets broken again. |
|
Lovely news :) |
The 37.0.0 release included a pull request from upstream that made brought in explicit dependencies on Microsoft.Build.* packages, which have a minimum TFM of 472. It makes little sense to publish FCS as a net461 library when it requires packages that require net472, so this PR bumps FCS to 472.
If this is accepted I'll contribute these same changes upstream, I just wanted to get a fixed release out quickly.
@dsyme @cartermp @Krzysztof-Cieslak thoughts on this?