I use TFS 2012 to automate the build of a solution that contains several Windows services and two web applications.
I used the manual I found here to customize the build process template so that Windows services are put in the folder structure that I like. In particular:
- \ dropserver \ droproot \ MyApp \ BuildNumber \
- \ Service1
- \ Service2
- \ service3
- \ Service4
This works fine, but unfortunately it does not work for web applications. If I used the same strategy for them, I just get the contents of / bin for each web application, and not the contents of the entire site.
MSBuild usually uses web application targets to handle this, but for some reason this does not work when you configure the assembly like me. I no longer get the _PublishedWebSites folder in assembly output. (I assume that since I cleared our OutDir property of the MSBuild task.)
Has anyone done something similar and got it to work with web applications?
source
share