title: How do Teamcity artifact paths work?
body: <p>Can anyone give me an example of what the Artifact paths setting defined for a build configuration could look like if I want to create two artifacts dist and source where I am using the sln 2008 build runner and building my projects using the default bin/Release?</p>
  
  <pre>
  **/Source/Code/MyProject/bin/Release/*.* => dist
  **/*.* => source
  </pre>
  
  <p>I get two artifact roots dist and source but under dist I get the whole directory structure (Source/Code/MyProject/bin/Release) which I don't want and under source I get the whole thing along with obj and bin/Release which I do not want.</p>
  
  <p>Can you give some advice on how to do this correctly?</p>
  
  <p>Do I need to change the target location for all the projects I am building to be able to get this thing to work?</p>