Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Minimal F# project
{
"configurations": [
{
"args": [],
"console": "internalConsole",
"cwd": "${workspaceFolder}",
"name": ".NET Core Launch (console)",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/fsql.dll",
"request": "launch",
"stopAtEntry": false,
"type": "coreclr"
}
],
"version": "0.2.0"
}
{
"tasks": [
{
"args": [
"build",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"command": "dotnet",
"group": "build",
"label": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile",
"type": "shell"
}
],
"version": "2.0.0"
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
</Project>
open System
[<EntryPoint>]
let main argv =
printfn "Hello World from F#!"
0 // return an integer exit code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.