标签: c# asp.net asp.net-core visual-studio-code
我正在使用V.S Code开发Asp.net Core项目。我试图将环境设置为"开发"通过在cmd行中设置它 setx ASPNETCORE_ENVIRONMENT "Development" 或/和使用
setx ASPNETCORE_ENVIRONMENT "Development"
"env": { "ASPNETCORE_ENVIRONMENT": "Development" },
如下图所示,但似乎环境仍然是"生产"。我错过了什么吗?谢谢!
Setting "Development" in V.S Code