Skip to content

Instantly share code, notes, and snippets.

@sergiorgiraldo
Created November 13, 2019 11:30
Show Gist options
  • Save sergiorgiraldo/0a4fe89e2bb2e7160b21e7bc2f2f9576 to your computer and use it in GitHub Desktop.
Save sergiorgiraldo/0a4fe89e2bb2e7160b21e7bc2f2f9576 to your computer and use it in GitHub Desktop.
tasks.json to build dotnet applications
{
//for this to work, you have to define a workspoace in vscode WITH SAME NAME AS YIOUR CSPROJ FILE
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/${workspaceFolderBasename}.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment