This seems to be an angular cli problem. https://github.com/angular/angular-cli/issues/10641
see: https://github.com/aspnetzero/aspnet-zero-core/issues/1015
Are you a project created from 6.5.0 or upgraded from an older version?
You can compare the code to see.https://github.com/aspnetzero/aspnet-zero-core/pull/1538/files#diff-14
Are you talking about nswag?
What is your Zero version information?
May be related to this? https://github.com/aspnetzero/aspnet-zero-core/issues/2160
Have you integrated hangfire? https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration
ng build --env=prod
then environment.prod.ts
will be used instead.
For the .net core application, you can set it in launch.json
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Is it convenient for you to share your project source code? My email: [email protected]
It seems that this problem has been solved. Are you not syncing correctly? https://github.com/aspnetzero/aspnet-zero-core/issues/2104