title: TokenReplace on Web.Config
body: <p>I am using the TokenReplace task to replace some tokens in my web.config file before deployment (TFS 2015 Release Defintion).</p>
  
  <p>The Release deployment complains:</p>
  
  <pre><code>##[error]Could not find files with glob [\\sevstfs\_work\2\a\_PublishedWebsites\Starlight\*.config].
  </code></pre>
  
  <p>However, I have confirmed that the file is and was, there.</p>
  
  <p>My Environment variables in the definition are:
  <a href="https://i.stack.imgur.com/iyKpY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iyKpY.png" alt="enter image description here"></a></p>
  
  <p>And my web.config tokens are here:
  <a href="https://i.stack.imgur.com/SX3uY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SX3uY.png" alt="enter image description here"></a></p>
  
  <p>Any help appreciated.</p>
  
  <p>thanks,</p>
  
  <p>KS</p>