I have a VS 2013 solution consisting of a classlibrary and a website. The code is under source control in TFS 2013, and i want to setup nightly builds of the solution where the website is placed in a specific unc path which is a webroot on a test server.
Currently i have a build running for the solution which resultes in a output folder on the unc path named by the build definition and the build number format with a subfolder named "_PublishedWebsites" containing the website. What i want is to have the website deployed with its name to the unc path without any build definition in the folder:
What i want:
\192.x.x.\TFS\WebApplication1\
Current:
\192.x.x.\TFS\Build definition one\Build definition one_20140408.29_PublishedWebsites\WebApplication1\
I suppose there is a simple way of doing this, but no matter how i configure the build definition or setup a custom build template, i end up with either no code being copied to the unc path, or some build error because i simple cant grasp how to configure the template.
There are lots of guides and questions here on stackoverflow for this, but i have not been able to find one for TFS 2013 which explains my scenario step by step.
So what are the steps for creating a TFS build definition where the result is a compiled web applicaiton placed in a specific named unc path folder?