I am using the XML editor to edit some elements in a web.config file in the Files and Folder section. This works as planned. The problem is if there is an existing web.config file in the destination directory, the existing file will be renamed as web.config.bak etc. and any XML comments in the new web.config file will be duplicated. If there are multiple web.config backup files, the comments will be duplicated by the total quantity of the backup files. I was able to replicate the issue on two different projects. I can eliminate the issue by setting the XML editor not to backup file if an existing web.config file is present, but this is not an option for us as the file must be back up before changes.
Thank you,
Diego