简体   繁体   中英

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 file (setting in app.config). What is the easiest way to do it (I have the xpath to the value that needs to be changed)?

您可以在http://msbuildtasks.tigris.org/查看MSBuild社区任务项目。这是一个名为XmlUpdate的任务,它可以完全满足您的需求。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM