https://github.com/Azure/azure-functions-dotnet-worker/pull/3387#discussion_r3179325516 `dotnet build` -> `dotnet publish --self-contained --no-build` may use a stale worker.config.json from the build phase.
#3387 (comment)
dotnet build->dotnet publish --self-contained --no-buildmay use a stale worker.config.json from the build phase.