Skip to content

Instantly share code, notes, and snippets.

@MattMS
Created October 8, 2019 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattMS/4a8576dd33962828885373a5c0152a3c to your computer and use it in GitHub Desktop.
Save MattMS/4a8576dd33962828885373a5c0152a3c to your computer and use it in GitHub Desktop.
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