When building my C# project, how can I switch to Release configuration in VS Code?
Right now I launch my application with Ctrl+F5 or Debug -> Start Without Debugging which also builds it, but this creates only a debug build at bin/Debug. There is no Build menu in VS Code.
Here's my tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"taskName": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/dotnetcore-test.csproj"
],
"problemMatcher": "$msCompile"
}
]
}