Question

Is it possible for a TFSBuild to replace part of your web.config settings with another section?

Is this generally handled by a copy (overwrite) task on AfterBuild or AfterDropBuild where the parts of the web.config have been extracted out into their own seperate files?

UPDATE Mid '10...

If you're using Visual Studio 2010, it now comes with a new Web Config Transformation feature.

This is also a related SO Question talks about that also.

Was it helpful?

Solution

You should be looking into the MSBuildExtensions:

http://www.codeplex.com/MSBuildExtensionPack

They have the ability to write XML to config files. There is also a lot of other useful things they can do.

Hope this helps,

B

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top