Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Xml Node inserted twice on tripple solution configuration #26

@TheNetStriker

Description

@TheNetStriker

I've configured a third solution configuration for a test installation of my software. So I also added a third config transformation file to set the specific config values for my test installation. The problem is that the extension seems to execute an insert transformation twice. Here is how I've configured my project:

Those are the names of my config transform files:
app.Debug.config
app.Release.config
app.Test.config

The app.Release.config and app.Test.config both contain this transformation:

<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <system.serviceModel>
    <bindings>
      <customBinding>
        <binding name="MyBinding" xdt:Locator="Match(name)">
          <httpTransport xdt:Transform="Remove" />
          <httpsTransport xdt:Transform="Insert" />
        </binding>
      </customBinding>
    </bindings>
  </system.serviceModel>
</configuration>

As a result I'm getting the httpsTransport element twice when compiling in "Release" or "Test" solution configuration. As a workarround I've now simply added bevor adding the httpsTransport again.

Is there a better solution to this problem or is this maybe a bug in the extension?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions