title: How to access artifacts folder after build in TFS online?
body: <p>PreInfo: I have .net core web api (vs2015) mixed with just ordinary projects.</p>
  
  <p>I have spent almost 2 days now to get this to work and search and tried everything I can think of, but I just cant for the live of me get the build and release in TFS online to play together.</p>
  
  <p>The build (publish artifact step) says "<strong>Directory 'D:\a\1\a' is empty. Nothing will be added to build artifact 'drop'.</strong>" </p>
  
  <p>but the "run dot net" step says </p>
  
  <p>"Published to D:\a\1\s\Operator\MobileService\root\MobileService\src\AMP.Operator.MobileService\bin\release\net452\win7-x64\publish" </p>
  
  <p>...so <strong>it must be somewhere</strong> the release can pick it up but no matter what I try I can´t get it to be picked up.</p>
  
  <p>Here is my build setup
  <a href="https://i.stack.imgur.com/pzwWL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pzwWL.png" alt="My build"></a></p>
  
  <p>dotnet run
  <a href="https://i.stack.imgur.com/XG5xu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XG5xu.png" alt="dotnet run"></a></p>
  
  <p>publishing
  <a href="https://i.stack.imgur.com/7mXIo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7mXIo.png" alt="the publish"></a></p>
  
  <p>And the realse with $(System.DefaultWorkingDirectory)/MobileService-Dev <strong>please note</strong> that I have tried every combo of $(build.artifactstagingdirectory) in the build to publish without luck but I sure this should point to the publishing folder for the build
  <a href="https://i.stack.imgur.com/u7tLM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/u7tLM.png" alt="realse"></a></p>
  
  <p>I so hope somebody can point me to a solution. I just can´t understand how hard it is to make this work..</p>