Azure Deployment: Could not load file or assembly or one of its dependencies. The process cannot access the file because it is being used

0

I deployed my multi-tier application to azure. It was working perfectly, but now when I try to deploying it, it shows an error saying:

Could not load file or assembly 'MySomething.dll' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

I checked other answers, but all of them dealing with IIS. Azure Web Apps IIS cannot be accessed directly. How can I resolve this?

asp.net
azure
iis
azure-web-app-service
asked on Stack Overflow Jul 25, 2016 by Saeid

1 Answer

0

As usual, this issue happened because of caching. Removing the bin/obj directories alongside the IIS Express cache folder fixed the issue.

answered on Stack Overflow Apr 19, 2018 by Saeid

User contributions licensed under CC BY-SA 3.0