Skip to content

Commit

Permalink
#52 ConfigSection duplicated on NuGet Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Henderson committed Mar 17, 2015
1 parent ce145c1 commit ddea5f4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- If configSections tag is absent -->
<configSections xdt:Transform="InsertIfMissing">
</configSections>

<configSections xdt:Transform="InsertIfMissing">
<section name="rmqMessagingGateway" type="paramore.brighter.commandprocessor.messaginggateway.rmq.MessagingGatewayConfiguration.RMQMessagingGatewayConfigurationSection, paramore.brighter.commandprocessor.messaginggateway.rmq" allowLocation="true" allowDefinition="Everywhere" xdt:Transform="Insert" />

<!-- Remove and re-insert rmqMessagingGateway section tag -->
<configSections>
<section name="rmqMessagingGateway" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="rmqMessagingGateway" type="paramore.brighter.commandprocessor.messaginggateway.rmq.MessagingGatewayConfiguration.RMQMessagingGatewayConfigurationSection, paramore.brighter.commandprocessor.messaginggateway.rmq" allowLocation="true" allowDefinition="Everywhere" xdt:Transform="Insert" />
</configSections>


<!-- If rmqMessagingGateway tag is absent -->
<rmqMessagingGateway xdt:Transform="InsertIfMissing">
<!--
amqp://{user}:{password}@{host}:{port}/{vhost}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- Remove section tag -->
<configSections>
<add name="rmqMessagingGateway" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="rmqMessagingGateway" xdt:Transform="Remove" xdt:Locator="Match(name)" />
</configSections>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- If configSections tag is absent -->
<configSections xdt:Transform="InsertIfMissing">
</configSections>

<!-- Remove and re-insert serviceActivatorConnections section tag -->
<configSections>
<add name="serviceActivatorConnections" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="serviceActivatorConnections" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="serviceActivatorConnections" type="paramore.brighter.serviceactivator.ServiceActivatorConfiguration.ServiceActivatorConfigurationSection, paramore.brighter.serviceactivator" allowLocation="true" allowDefinition="Everywhere" xdt:Transform="Insert"/>
</configSections>

<!-- If serviceActivatorConnections tag is absent -->
<serviceActivatorConnections xdt:Transform="InsertIfMissing">
</serviceActivatorConnections>

<!-- If connections tag is absent -->
<serviceActivatorConnections>
<connections xdt:Transform="InsertIfMissing">
</connections>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- Remove serviceActivatorConnections section tag -->
<configSections>
<add name="serviceActivatorConnections" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="serviceActivatorConnections" xdt:Transform="Remove" xdt:Locator="Match(name)" />
</configSections>
</configuration>

0 comments on commit ddea5f4

Please sign in to comment.