Why does my .NET Framework 4.8 web app on Azure lose DLLs intermittently after deployment?

Gustavo Rodrigues 0 Reputation points
2024-10-29T17:38:54.9766667+00:00

My application is crashing out of nowhere. I deploy the same release, it stays up for a while, and then the error below occurs. I went into the Console, accessed the directory where the published project with the dlls is located, and the file mentioned in the error below was not in the folder. (This is an example of a file, every time the system goes down, it's a different dll that disappears)

When I redeploy the same release, it works again, with all the dlls in the folder. I don't know what's going on.

My application is an ASP NET MVC (.net framework 4.8) published on the Azure App Service.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,944 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
346 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,958 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 67,251 Reputation points
    2024-10-29T19:56:35.1566667+00:00

    then some process is removing the dll. maybe you have a partial or failed publish occurring.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.