Search code examples
azureazure-webjobs.net-5kudu

Azure devOps WebJobs fails after .NET 5 Migration


I've got several webjobs that I deploy using an Azure DevOps pipeline. After the .NET 5 migration I have these errors in Kudu

enter image description here

This happened after .net 5 migration but I don't really think it is connected to it. The app service configuration is set to NET5.

I already try these actions:

  1. Manually delete all jobs in kudu and redeploy them
  2. Deploy the webjobs in another app service
  3. Obviously (ironically) in the local environment it works

The fact that they won't work in another app service means the problem is in the devOps pipeline, but I didn't change it. I mean, it builds in net5 right now, that's all.

Could someone know about this type of error? I never encountered something like this in kudu and It's difficult to even search for a solution.

Thanks in advance.


Solution

  • At the end of the day, we developed a brand new application based on .net 5 and we deployed it to a new app service based on .NET 5.

    We didn't install anything to the app service, so it wasn't the problem.

    I don't really know what happened.