Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2725


Ignore:
Timestamp:
01/29/10 19:16:32 (14 years ago)
Author:
abeham
Message:

Fixed a bug in ConfigMerger when the bindings root node didn't exist (#858)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/ConfigMerger/ConfigMerger.cs

    r2697 r2725  
    5555     
    5656      #region Merge 'system.serviceModel/bindings/*'
     57      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings");
     58      if (destinationNode == null) {
     59        destinationNode = destination.CreateElement("bindings");
     60        destination.SelectSingleNode("/configuration/system.serviceModel").AppendChild(destinationNode);
     61      }
    5762      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/basicHttpBinding");
    5863      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/basicHttpBinding");
Note: See TracChangeset for help on using the changeset viewer.