I get the following error while transforming a web.config file in TeamCity. It happens on the element, <applicationSettings xdt:Transform="Replace">.
No element in the source document matches '/configuration/applicationSettings'
The source file has this setting. Any idea how to solve this?