title: Visual Studio Team Services - Publish artifact not found PathtoPublish
body: <p>I have a build definition setup in Team Services that is publishing the web.config file as an additional artifact so that I can run the tokenizer task on it. In my visual studio project I have the tokens setup in the Web.Release.config file. When the build is run, the tokens are inserted in to the config file which are then replaced by the release management process for each of the environments. </p>
  
  <p>This has been working for the past few months. But today it started failing with the error "not found PathtoPublish" for the web.config file. In the Publish Artifacts task, I have the Path to publish setup as </p>
  
  <pre><code>"MyWebProject\obj\Release\Package\PackageTmp\Web.config". 
  </code></pre>
  
  <p>Looks like now it is expecting a path like</p>
  
  <pre><code>"SolutionFolder\Branch\MyWebProject\obj\Release\Package\PackageTmp\Web.config".
  </code></pre>
  
  <p>I guess I need to use a variable for the path. But I cant figure out whats the right variable. I need to pick up the transformed Web.config file so that the tokens are in place. Strange thing the old path is working fine for a 2nd team projects build definition. </p>