I had the same error and found a workaround for myself. I can’t say if the workaround can help you, but that’s how it worked for me.
I changed the project name and then also the path of the project. I made sure that the project name and path are the same. . In the end I was able to delete the project.