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 }}
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
use https://www.nuget.org/packages/FSharp.Core #352
It looks like the two nuget packages above are for the library sets for F# 3.0+ and F# 3.1+. Presumably a third would be needed for F# 4.0+ when it comes.
But what would the layout of a combined nuget package look like? It doesn't seem that nuget lets you pivot on the additional dimension of the version of the F# language, just "net40", "net45", the profiles and so on.
One (very annoying) problem is that AFAIK Visual Studio tooling doesn't let you select a specific version of a package in the "Manage Nuget Packages" UI, which means you would have to adjust the packages.config by hand, resync etc.
I think it remains as is, but should also be equivalently fleshed out with the full version ranges (i.e. it should be the same, but with the additional delay signed DLLs for the mono-only Android/iOS profiles).
I think it would be great if we created a FSharp.Core3.1.2 that were the exact redistributable binaries from the Visual F# release. Same with in 3.1.1 and the 4.0 previews. I'll submit a proposal probably tomorrow. Here are the version information I dug up today:
Just to be clear. The Target F# runtime drop down changes the project property TargetFSharpCoreVersion. It is for managing the FSharp.Core version used in C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp.
After installing the FSharp.Core from NuGet, you can safely remove the TargetFSharpCoreVersion from the fsproj file. The project property UI will then show the version from NuGet without the dropdown.
Yes, I will maintain these as new versions are released. The code for buildin these is in #354.
When the F# code base is officially moved to GitHub, I'll work with the Visual F# team to see what can be done to improve the process. I'd like to see the latest and greatest on here with prerelease labels. I'll create a new ticket for that.
I'll upload these to the NuGet Gallery in an hour unless people speak up and want to do more testing. They look good to me in my testing.
Yes, I will maintain these as new versions are released. The code for buildin these is in #354#354.
When the F# code base is officially moved to GitHub, I'll work with the Visual F# team to see what can be done to improve the process. I'd like to see the latest and greatest on here with prerelease labels. I'll create a new ticket for that.
I'll upload these to the NuGet Gallery in an hour unless people speak up and want to do more testing. They look good to me in my testing.
—
Reply to this email directly or view it on GitHub #352 (comment).
and likewise other platform + version-indexed references.
In that way the Visual F# IDE tools dialogs would continue to work without change, and users could always just choose the latest nuget package, because it would have all available versions of FSharp.Core. Is it possible to get nuget to insert that kind of reference into a project file?
If you could, that would be great. The post would serve as a single canonical reference for the "FSharp.Core" package - when it should be used, which version to reference, how to build another nuget package that includes a dependency on this package, what you have to do to use it etc. The post could be updated later if necessary, as you work with the Visual F# and Xamarin people. The post could also be the "project page" for the nuget pakage?
@dsyme Sure. Look for something posted there within a week. @7sharp9 I agree. Let's figure out what needs to be done for the Mono.Signed story. This is a good first step.
@ctaggart@7sharp9 - yes, it now seems reasonable for you to consider including the MonoAndroid/MonoTouch FSharp.Core in this package. I'm more confident in these DLLs now after this thread: #353, though I'd like to see full confirmation from Xamarin of their veracity/suitability. Indeed it is likely to make sense to wait for a future "official" build from Xamarin that contains updated DLLs, just as you wait for "official" builds from Microsoft.
These DLLs are F# 3.1, and are delay-signed (but AFAIK that is of no signficance because MonoAndroid/MonoTouch do not do full-name signature verification)
When using Paket to switch to the FSharp.Core from NuGet rather than Reference Assemblies, make sure you use the --hard switch. If not, it will skip doing so with this message: custom nodes for FSharp.Core ==> skipping. Use this with either paket install or update.
Activity
dsyme commentedon Nov 24, 2014
It looks like the two nuget packages above are for the library sets for F# 3.0+ and F# 3.1+. Presumably a third would be needed for F# 4.0+ when it comes.
But what would the layout of a combined nuget package look like? It doesn't seem that nuget lets you pivot on the additional dimension of the version of the F# language, just "net40", "net45", the profiles and so on.
ctaggart commentedon Nov 25, 2014
It would be normal NuGet packages. Instead of these:
We would do one of these:
And when 4.0 comes out:
They would each still contain their relevant platforms:

ctaggart commentedon Nov 25, 2014
/cc @forki @7sharp9 @fsgit
nuget owners
dsyme commentedon Nov 25, 2014
I see, that's reasonable.
One (very annoying) problem is that AFAIK Visual Studio tooling doesn't let you select a specific version of a package in the "Manage Nuget Packages" UI, which means you would have to adjust the packages.config by hand, resync etc.
ctaggart commentedon Nov 25, 2014
You will be happy to see that Visual Studio 2015 Preview has changed the UI:
ctaggart commentedon Nov 25, 2014
This topic was brought up yesterday here and here:
https://visualfsharp.codeplex.com/discussions/573034
https://groups.google.com/forum/#!msg/fsharp-opensource/BLPtPX5yZPs/GYTQT51zqesJ
I'm going to volunteer and see if I can get permissions to make this happen.
panesofglass commentedon Nov 25, 2014
💯
dsyme commentedon Nov 25, 2014
That's great to see in the VS2015 UI. That makes a big difference.
Could you send a PR to this repo to adjust the nuget package specification files (to get it reviewed before you publish the package)?
dsyme commentedon Nov 25, 2014
Specifically, replace/rename the files here: https://github.com/fsharp/fsharp/tree/master/FSharp.Core.Nuget with a two of files - one for 3.0 (including FSharp.Core 4.3.0.0) and 3.1 (including FSharp.Core 4.3.1.0). As far as I understand it they should essentially just consolidate the same contents to one package name with appropriate package versions?
ctaggart commentedon Nov 25, 2014
@dsyme of course. Thanks for defining the process. :)
cdrnet commentedon Nov 25, 2014
The docs/readme would also need to be updated.
What happens with the third of the currently-official packages, FSharp.Core.Mono.Signed?
dsyme commentedon Nov 26, 2014
I think it remains as is, but should also be equivalently fleshed out with the full version ranges (i.e. it should be the same, but with the additional delay signed DLLs for the mono-only Android/iOS profiles).
fsharp/fsharp/fsharp#352 migrate the FSharp.Core.Microsoft.Signed to …
ctaggart commentedon Nov 30, 2014
I think it would be great if we created a
FSharp.Core3.1.2that were the exact redistributable binaries from the Visual F# release. Same with in3.1.1and the 4.0 previews. I'll submit a proposal probably tomorrow. Here are the version information I dug up today:dsyme commentedon Nov 30, 2014
I think that would be great, except
(a) skip 3.1.1, since the FSharp.Core in 3.1.2 is just strict superset of those in 3.1.1, adding some portable profiles
(b) skip the 4.0 previews - AFAIK they are not for production consumption and it is just better to wait
So just do 3.0 and 3.1.2 for now
Cheers
Don
5 remaining items
ctaggart commentedon Dec 2, 2014
These packages do install correctly into .NET 4.5 projects for C# and F#. For F# projects, it does replace the
FSharp.Corereference. Example:to:
But for the project screen to show the NuGet managed version, I recommend manually removing the
TargetFSharpCoreVersionline from thefsproj:ctaggart commentedon Dec 2, 2014
Just to be clear. The
Target F# runtimedrop down changes the project propertyTargetFSharpCoreVersion. It is for managing theFSharp.Coreversion used inC:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp.After installing the
FSharp.Corefrom NuGet, you can safely remove theTargetFSharpCoreVersionfrom thefsprojfile. The project property UI will then show the version from NuGet without the dropdown.panesofglass commentedon Dec 3, 2014
Fantastic work, @ctaggart! I'm looking forward to getting several of my projects building and working on Xamarin again with less fsproj tweaking!
panesofglass commentedon Dec 3, 2014
Will you continue to maintain these as new versions are released? If not you, who should be responsible?
Is this something the Visual F# team should own?
Would it be helpful to:
What about nightly releases on a myget or appveyor feed?
Should we consider setting up
-alphaor-betaNuGet packages for those wishing to try the latest and greatest?ctaggart commentedon Dec 3, 2014
Yes, I will maintain these as new versions are released. The code for buildin these is in #354.
When the F# code base is officially moved to GitHub, I'll work with the Visual F# team to see what can be done to improve the process. I'd like to see the latest and greatest on here with prerelease labels. I'll create a new ticket for that.
I'll upload these to the NuGet Gallery in an hour unless people speak up and want to do more testing. They look good to me in my testing.
ctaggart commentedon Dec 3, 2014
We are live!
https://www.nuget.org/packages/FSharp.Core/
https://www.nuget.org/packages/FSharp.Core/3.1.2
https://www.nuget.org/packages/FSharp.Core/3.0.2
7sharp9 commentedon Dec 3, 2014
Do these include monodroid/monotouch? Sorry I haven’t been keeping up…
D.
ctaggart commentedon Dec 3, 2014
This does not affect/address the FSharp.Core.Mono.Signed.
This was asked earlier: #352 (comment)
It would be great if you could hide the "Microsoft.Signed" NuGet packages. This does replace those two.
dsyme commentedon Dec 3, 2014
Great work
One thought - I really wish the project files could have this reference:
where the 3.1.2 package has both 4.3.0.0 and 4.3.1.0 DLLs:
and likewise other platform + version-indexed references.
In that way the Visual F# IDE tools dialogs would continue to work without change, and users could always just choose the latest nuget package, because it would have all available versions of FSharp.Core. Is it possible to get nuget to insert that kind of reference into a project file?
dsyme commentedon Dec 3, 2014
@ctaggart - Could you please write an authoritative F# Core Engineering Group blog post on the nuget package? Please submit it here: https://github.com/fsharp/fsharp.github.io/tree/master/_posts. Once accepted it would appear here: http://fsharp.github.io/
If you could, that would be great. The post would serve as a single canonical reference for the "FSharp.Core" package - when it should be used, which version to reference, how to build another nuget package that includes a dependency on this package, what you have to do to use it etc. The post could be updated later if necessary, as you work with the Visual F# and Xamarin people. The post could also be the "project page" for the nuget pakage?
7sharp9 commentedon Dec 3, 2014
It's a pity there can't just be a single nuget package to address distributing FSharp.Core
ctaggart commentedon Dec 3, 2014
@dsyme Sure. Look for something posted there within a week.
@7sharp9 I agree. Let's figure out what needs to be done for the Mono.Signed story. This is a good first step.
dsyme commentedon Dec 3, 2014
@ctaggart @7sharp9 - yes, it now seems reasonable for you to consider including the MonoAndroid/MonoTouch FSharp.Core in this package. I'm more confident in these DLLs now after this thread: #353, though I'd like to see full confirmation from Xamarin of their veracity/suitability. Indeed it is likely to make sense to wait for a future "official" build from Xamarin that contains updated DLLs, just as you wait for "official" builds from Microsoft.
These DLLs are F# 3.1, and are delay-signed (but AFAIK that is of no signficance because MonoAndroid/MonoTouch do not do full-name signature verification)
ctaggart commentedon Dec 4, 2014
When using Paket to switch to the
FSharp.CorefromNuGetrather thanReference Assemblies, make sure you use the--hardswitch. If not, it will skip doing so with this message:custom nodes for FSharp.Core ==> skipping. Use this with either paket install or update.