I have a test web app running on Azure and its been deployed as an App Service for months, until recently I was able to publish from Visual Studio to it no problem but it has recently started showing the 500.30 error after publishing (app failing to start). I've noticed if I create a brand new app service its fine, its only when I re-publish it fails (checked the publish settings numerous times and its the same as when i do a new publish that works).
To add to the issue yesterday after a new publish it went down after a few hours. I've reviewed the event logs for the app and I can see its initiating a shutdown (see error below - i changed commit / computer values since it might be specific to my account), but I am now a bit stuck on how to diagnose this or the possible causes.
Has anyone run in to this before and can they point in the right direction? The app is .Net Core 5 and is built in Visual Studio. When we republish we tick the box to delete the previous files as well which I see is a common fix for this issue.