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