Skip to content

Instantly share code, notes, and snippets.

@enricosada
enricosada / fsharp and .net core sdk status.md
Last active March 29, 2020 13:13
.NET Core sdk, msbuild, fsharp, fsc, etc

.NET Core sdk, msbuild, fsharp, fsc, etc

How to finish/polish the integration between msbuild based .net core sdk and f# (fsc, FscTask, etc)

This doc contains current issues i known and a proposed solution (already implemented in a PR, and works) on how to fix these (obv ihmo).

AFAIK all the solution i choose are based on where dotnet/sdk, microsoft/msbuild and dotnet/cli are going with development, and updated to latest release (preview4), and vnext in development now.

TL;DR

Comparison between netstandard1.6 and netstandard2.0 for FSharp.Core

NOTE i have the .net core sdk 1.0 installed, and lots of previous NETStandard.Library packages in global nuget cache. This may impact or not (dotnetcli fill the cache anyway at first use). need to test a clean install too, to check same download size apply (ihmo important for CI/first use/etc), but maybe is not important***

.net sdk used 2.0.0-preview1-005899

To minimize differences, i used a normal C# console app and added FSharp.Core as package reference

This is also a normal scenario, when a C# project use an F# library