Skip to content

teach dotnet new how to create f# programs #4689

@enricosada

Description

@enricosada

dotnet new should also scaffold f# program.

The template is not a problem.

What's the best way to specify the language?

  • command line argument ( --language F# ), default c# ?
  • new command dotnet-new-fsharp.exe ( like dotnet compile => dotnet-compile-fsc.exe )
  • new argument F# without --language

A personal feedback

make c# explicit like f# for new, asking what language use if not specified, is better long term, more dotnet, less c# dotnet.
Easier to discover for new user too

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions