I am facing file_is_use error while deploying .netcore api from azure pipeline to on-prem IIS server by using the tasks following task in CD pipeline
Steps I have tried but still error persists :
But still facing the File_in_use issue
When IIS encounters a file locked error when publishing an application, we recommend using the Windows built-in Resource Monitor
to check the specific situation of the occupied files.
Any files are locked issue can be investigated through this tool.