Hi!
We encountered the same issue, e.g. it works in on-premise but not in Azure. The solution for us was to change the folder structure in the image.
Not working:
/jobs/<app files>
/src/<app files>
Working:
/app/jobs/<app files>
/app/src/<app files>
Not sure if it is due to that splitting your files on multiple root folders is a bad idea or if /app folder has some special treatment.
We also use .NET SDK 8.
Hope this helps!