Skip to content

Instantly share code, notes, and snippets.

@ImaginaryDevelopment
Created August 13, 2016 16:03
Show Gist options
  • Save ImaginaryDevelopment/4e5c630c580e56be214f2fbb45d3ac29 to your computer and use it in GitHub Desktop.
Save ImaginaryDevelopment/4e5c630c580e56be214f2fbb45d3ac29 to your computer and use it in GitHub Desktop.
VsCode setup
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
// in projectDir/.vscode
"version": "0.1.0",
"command": "cmd",
"isShellCommand": true,
"args": [
"/C"
],
"taskSelector": "/t:",
"showOutput":"always",
"suppressTaskName": true,
"tasks": [
{
"taskName": "build",
"args": [
"C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe",
/* "${file}" */
"./Pm.Suave.fsproj",
// Ask msbuild to generate full paths for file names.
"/p:GenerateFullPaths=true",
// "/v:diagnostic",
"/p:MSBuildExtensionsPath='C:\\Program Files (x86)\\MSBuild\\'"
//"/p:MSBuildToolsVersion=v14.0"
],
// Show the output window only if unrecognized errors occur.
"showOutput": "silent",
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile",
"isBuildCommand": true
}, //https://code.visualstudio.com/docs/editor/tasks
{
"taskName": "run",
"args": ["${workspaceRoot}\\bin\\Debug\\Pm.Suave.exe"
],
// Show the output window only if unrecognized errors occur.
// "showOutput": "silent",
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment