在 TeamCity 中转换 web.config 文件时出现以下错误。它发生在元素上,<applicationSettings xdt:Transform="Replace">
.
No element in the source document matches '/configuration/applicationSettings'
源文件具有此设置。知道如何解决这个问题吗?
请您参考如下方法:
我不得不从 configuration
中删除命名空间属性节点。声明的模式和我使用的元素存在一些冲突。
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"