Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Cannot deploy .NET 8 applications to IIS with Web Deploy.
The error message was the project .dll was locked so it could not be updated.
I downgraded the project to .NET 6 or .NET 7, both of them didn't have the issue and could be updated successfully.
Expected Behavior
No response
Steps To Reproduce
- Create a new project with .NET 8
- Publish it to IIS with Web Deploy
- Project is deployed successfully for the first time
- Open a browser and go to the website
- Modify something in the project
- Publish the project to IIS with Web Deploy one more time
- The project .dll is locked and cannot be updated, deployment failed
Exceptions (if any)
No response
.NET Version
8
Anything else?
No response