Last post Mar 20, 2012 08:48 AM by avinash_bhudke
Mar 20, 2012 08:37 AM|pantonis|LINK
I'm using TFS 2010. I have created a build definition that builds and deploys my web site into production servers. Everything works fine except that it replaces web.config with the one from build result. How can I prevent the build definiton from deploying
Thanks in advance
Mar 20, 2012 08:48 AM|avinash_bhudke|LINK
You can try having a separate transform file per Visual Studio build-environment. For example, you could configure your project/solution to have a “Debug”, “Staging” and “Release” build configuration – in which case VS will maintain
three separate transform files for you. VS will automatically apply the appropriate one at deployment time depending on what your VS environment is set to.
So you can have
Read these posts for more help.