code_junkie

Modify config file based on build constants

Nov 11th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #if DEBUG
  2. // do something
  3. #endif
  4.  
  5. ...
  6. <importantSetting>$importantSettingValue$</importantSetting>
  7. ...
  8.  
  9. ...
  10. <importantSettingValue>QAvalue</importantSettingValue>
  11. ...
  12.  
  13. ...
  14. <importantSettingValue>PRODvalue</importantSettingValue>
  15. ...
  16.  
  17. XmlPreProcess.exe app.config qavalues.xml
Add Comment
Please, Sign In to add comment