Hello,
I am trying to update my files by patch. I have an imported xml that all nodes have same attributes.
Create element if it doesn't already exist. CHECKED
If the element is found->Update->First Matching. CHECKED
Condition is 1
Remove element on uninstall. CHECKED
There is no problem when applying updates. Xml file is not changing.
When i applied a new patch, it changes with errors. Some nodes are changed, some are deleted.
For Example: v1 is my base version of web.config, v2 is patched version.
v1:
<!--
test comment1
test comment2
-->
<assemblies>
<add assembly="assembly1"/>
<add assembly="assembly2"/>
<add assembly="assembly3"/>
<add assembly="assembly4"/>
<assemblies>
v2:
<!--
test comment1
test comment2
-->
<!--
test comment1
test comment2
-->
<assemblies>
<add assembly="assembly4"/>
<add assembly="assembly2"/>
<add assembly="assembly3"/>
<add assembly="assembly4"/>
<assemblies>
Is there any bug or am i doing something wrong?