title: VS 2017 Release Management Tokenize XPath/Regular expressions not working
body: <p>I am trying to use the Release Management Tokenize XPath/Regular and I keep getting different error as I try to answer the three entries </p>
  
  <ol>
  <li><p><strong>Source filename:</strong> $(System.DefaultWorkingDirectory)/XXXXX/Drop - This I know is on my build server  this file should be
  xxxxxx.exe.config and is located in a zip file</p></li>
  <li><p><strong>Destination filename:</strong> I don't know if this should be on the build server or the release server?</p></li>
  <li><p><strong>Configuration Json filename:</strong> I don't really know where to put this, the code below is the Json file.</p>
  
  <p>{
      "DEV": {</p>
  
  <pre><code>    "ConfigChanges": [{
          "KeyName": "/configuration/loggingConfiguration/listeners/add[@name='Email Trace Listener']",
          "Attribute": "emailListId",
          "value": 0
      },
      {
          "KeyName": "/configuration/loggingConfiguration/listeners/add[@name='Email Trace Listener']",
          "Attribute": "subjectLineStarter",
          "value": "[DEV]: Program Name"
      },
      {
          "KeyName": "/configuration/loggingConfiguration/listeners/add[@name='Email Trace Listener']",
          "Attribute": "smtpServer",
          "value": "testsmtp.dns.com"
      },
      {
          "KeyName": "/configuration/loggingConfiguration/listeners/add[@name='Email Trace Listener']",
          "Attribute": "toAddress",
          "value": "application.support.test@Yahoo.com"
      }]
  }
  </code></pre>
  
  <p>}</p></li>
  </ol>
  
  <p><strong>My Error</strong></p>
  
  <pre><code>2019-04-01T16:40:08.4509133Z ##[section]Starting: Tokenizer: Transform Source filename
  2019-04-01T16:40:08.4663688Z ==============================================================================
  2019-04-01T16:40:08.4663688Z Task         : Tokenize with XPath/Regular expressions
  2019-04-01T16:40:08.4663688Z Description  : Replaces __&lt;variable&gt;__ and/or XPath for XML documents with User Defined variables or configuration json document
  2019-04-01T16:40:08.4663688Z Version      : 2.1.0
  2019-04-01T16:40:08.4663688Z Author       : ms-devlabs
  2019-04-01T16:40:08.4663688Z Help         : [More Information](https://github.com/openalm/Extension-UtilitiesPack)
  2019-04-01T16:40:08.4663688Z ==============================================================================
  2019-04-01T16:40:10.6850718Z Environment: DEV
  2019-04-01T16:40:10.8413250Z Updating emailListId of /configuration/loggingConfiguration/listeners/add[@name='Email Trace Listener']: 0
  2019-04-01T16:40:10.9350669Z ##[error]Failure while updating emailListId of /configuration/loggingConfiguration/listeners/add[@name='Email Trace Listener']: 0
  2019-04-01T16:40:10.9663179Z ##[section]Finishing: Tokenizer: Transform Source filename
  </code></pre>
  
  <p>in My .proj file I put this so that I could get the App.Config.Token file on release instead of App.Config.</p>
  
  <pre><code>&lt;ItemGroup&gt;
      &lt;None Include="App.config" /&gt;
      &lt;None Include="App.Debug.config"&gt;
        &lt;DependentUpon&gt;App.config&lt;/DependentUpon&gt;
      &lt;/None&gt;
      &lt;None Include="App.config.Token"&gt;
        &lt;DependentUpon&gt;App.config&lt;/DependentUpon&gt;
      &lt;/None&gt;
    &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>The App.config  and App.Debug.config are identical.
  The App.Config.Token</p>