开发者

Changing app.config as part of MSBuild script

I am using an MSBuild build file to build and test my application. As part of the process I would like to change the path and name of the log f开发者_C百科ile (setting in app.config). What is the easiest way to do it (I have the xpath to the value that needs to be changed)?


You can have a look at The MSBuild Community Tasks Project at http://msbuildtasks.tigris.org/ There's a task called XmlUpdate, which does exactly what you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜