.net - ASP.NET 5 not running in development mode -
i have updated asp.net 5 project beta 8, , supposed following web command
"commands": { "web": "microsoft.aspnet.server.kestrel" },
now have updated project environment variables.
this has updated launchsettings.json file, so
{ "profiles": { "web": { "commandname": "web", "environmentvariables": { "aspnet_env": "development" } } } }
but reason, every time run command dnx web
says hosting environment production. why not starting in development mode?
the settings in launchsettings.json
used vs. if run console, have set environment variable manually.
cmd:
set aspnet_env=development dnx web
ps:
$env:aspnet_env=development dnx web
Comments
Post a Comment