-
Notifications
You must be signed in to change notification settings - Fork 1
Changelog
This for sure is not the changelog of .NET CLI (lots of stuff going on), but some useful info for F# devs
This changelog document important changes and a new version is added when for sure works
Latest
document WIP useful for f# devs coming next version
When latest works ok, it become a new lkg. Meanwhile it can or cannot work
- use
dotnet-compile-fsc
tool to integrate .NET CLI andfsc
. Previously thecompile-fsc
command was embedded insidedotnet.exe
That's the released preview1
in http://dot.net and works ootb with F#
Notable features:
- works on all supported os (win/osx/ubuntu/docker)
- support
netstandard1.*
target framework - support
netcoreapp1.0
- dotnet sdk extensions work (tools)
- portable pdb can be enabled from
project.json
The .NET CLI version now use semver (major.minor.patch-prerelease) instead of 4 numbers (A.B.C.D) That's the version used to download files
The dnxcore50
framework is obsolete, use netstandard1.5
instead.
It's possibile to import
the dnxcore50
in netstandard1.5
to use packages built for dnxcore50
The Microsoft.NETCore.App
package group the most used deps for an app
-
support win, osx, ubuntu
-
support
netstandardapp1.*
andnetstandard1.*
frameworks -
Fsharp.Core
package:Microsoft.FSharp.Core.netcore: 1.0.0-alpha-160316
-
project.json
properties- fix named .resx resources inside
namedResource
- support
compilationOptions.warningsAsErrors
(--warnaserror
) - support
compilationOptions.delaySign
(--delaysign+
) - support
compilationOptions.keyFile
(--keyfile
) - support
compilationOptions.xmlDoc
- support
compilationOptions.optimize
(--optimize+
iftrue
) - support
compilationOptions.platform
(--platform
) - use
compilationOptions.debugType
to specify pdb type (debugType: portable
=>--debug:portable
) by default it's previous behaviour, no pdb on osx/ubuntu (zero size for workaround), pdbonly on win
- fix named .resx resources inside
-
dotnet build
- the response file is used instead of pass all arguments
- the arguments list is in the same order of msbuild, easier to diff
- fix
version
, pass generated version info source file as last but one (last file is main) - do not copy
FSharp.Core
to output dir (--nocopyfsharpcore
), it's done by publish/pack
-
dotnet new
- updated generated project to:
- use framework
netstandard1.5
by default - import
dnxcore50
and portable profiles) - use
Microsoft.NETCore.App
deps by default - use
Fsharp.Core
to1.0.0-alpha-160316
- use framework
- updated generated project to:
-
support win. osx/ubuntu with workarounds
-
support
dnxcore50
framework -
others frameworks supported by .NET CLI should work
-
Fsharp.Core
package:Microsoft.FSharp.Core.netcore: 1.0.0-alpha-151221
-
project.json
properties- use
compilerName: fsc
to usefsc
compiler instead of defaultcsc
- the
compileFiles
works for specify source file order - the
emitEntryPoint: true
build a console app, instead of library - the
dependencies
orframeworks.{framework}.dependencies
to specify dependencies - use
compilationOptions.additionalArguments
to pass additional arguments - use
compilationOptions.define
to pass compiler directives (-d
) - use
compilationOptions.nowarn
to ignore warnings (--nowarn
)
- use
-
dotnet new
- use
--lang f#
to create a F# console project - the
Nuget.config
contains the feed with .NET Core FSharp.Core
- use
-
known issues
- the generated pdb file is zero size, it's a workaround to make .NET CLI work