Run ASP.NET Core application in "Development" environment
<p>I am using <strong>ASP.NET Core RC2</strong> and when I run <code>dotnet run</code> my application always runs in "Production". I am not able to change it to "Development".</p>

<p>I have the following <code>launchSettings.json</code> file:</p>

<pre><code>{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:26088/",
      "sslPort": 0
    }
  },
  "profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    },
    "MVCCoreRc2App": {
      "commandName": "Project",
      "launchBrowser": true,
      "launchUrl": "http://localhost:5000",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
  }
}
</code></pre>

<p>I am not sure why <code>dotnet</code> is running the application in "Production" when I am setting <code>"ASPNETCORE_ENVIRONMENT": "Development"</code>.</p>

<p>This was working in <strong>ASP.NET Core RC1</strong>. What am I missing?</p>