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
Try use BackgroundJobServerOptions
app.UseHangfireServer(new BackgroundJobServerOptions()
{
ServerTimeout = TimeSpan.FromMinutes(10)
});
You can refer to abp's hangfire documentation. https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration#asp-net-core-integration