CameronWills / FatAntelope

A tool for comparing .NET .config files and generating a config transform (Microsoft Xml Document Transform).
Other
85 stars 20 forks source link

Case error in generated XDT #4

Closed derekgreer closed 7 years ago

derekgreer commented 7 years ago

I have a target file with the following

...
</connectionStrings>
  <location path="." inheritInChildApplications="false">
...

The generated XDT contains the following:

...
<location path="." inheritInChildApplications="false" xdt:Transform="InsertAfter(/configuration/connectionstrings)">
...

Upon attempting to apply the XDT, it fails due to the casing of connectionstrings.

CameronWills commented 7 years ago

Great thanks for logging the issue. Somehow I've so far managed to miss this scenario as well as general case sensitivity in tests and diffing real world .config files. Anyway, I've pushed a fix in v0.2.9: https://github.com/CameronWills/FatAntelope/releases/tag/0.2.9

I'll close this issue for now - but feel free to comment and reopen if still experiencing the issue.