Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Since we updated to .NET 9 on our webserver the deployment with our azure devops pipeline fails under some circumstances:
- Often the main dll cannot be overwritten when the website is deployed with the "IISWebAppDeploymentOnMachineGroup@0" task:
Info: Updating file (Api\Api.dll).
##[error]Failed to deploy web package to IIS website.
##[warning]Can't find loc string for key: Trytodeploywebappagainwithrenamefileoptionselected
##[warning]Trytodeploywebappagainwithrenamefileoptionselected
##[error]Error Code: ERROR_FILE_IN_USE
More Information: Web Deploy cannot modify the file 'Api.dll' on the destination because it is locked by an external process.
- When we share the same app pool between two websites, and only one website is deployed with task "IISWebAppManagementOnMachineGroup@0" the other website is taken offline which causes a "503 Service Unavailable" error when trying to access the other website.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
Activity