Skip to content

Commit

Permalink
Merge pull request #18 from bdrupieski/feature/fix-install-xdt-insert…
Browse files Browse the repository at this point in the history
…-appconfig-if-missing

Change install.xdt files to insert appSettings if missing
  • Loading branch information
JamieDixon authored Apr 14, 2017
2 parents 43b85ee + 19d5e96 commit 8db6f55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/nuget-package/Content/app.config.install.xdt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="graphVizLocation" value="" xdt:Transform="Insert" />
<appSettings xdt:Transform="InsertIfMissing">
<add key="graphVizLocation" value="" xdt:Transform="InsertIfMissing" xdt:Locator="Match(key)" />
</appSettings>
</configuration>
4 changes: 2 additions & 2 deletions src/nuget-package/Content/web.config.install.xdt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="graphVizLocation" value="" xdt:Transform="Insert" />
<appSettings xdt:Transform="InsertIfMissing">
<add key="graphVizLocation" value="" xdt:Transform="InsertIfMissing" xdt:Locator="Match(key)" />
</appSettings>
</configuration>

0 comments on commit 8db6f55

Please sign in to comment.