Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/MergeConfigs.cmd @ 12669

Last change on this file since 12669 was 7060, checked in by abeham, 13 years ago

#1653

  • Changed config merging behavior to always merge from the original HeuristicLab app.config file in order to not break the local build when changes to the config files occur
  • Added an interactive mode detection to the MergeConfigs.cmd to allow execution from the explorer
  • Changed app.config in HeuristicLab.Tracing-3.3.csproj to not copy to output directory
  • Changed app.config in HeuristicLab-3.3.csproj to always copy to output directory
File size: 389 bytes
Line 
1@echo off
2
3IF "%Outdir%"=="" (
4  SET Outdir=bin\
5  SET INTERACTIVE=1
6)
7
8echo Recreating HeuristicLab 3.3.exe.config...
9copy /Y "%Outdir%app.config" "%Outdir%HeuristicLab 3.3.exe.config"
10
11echo Merging...
12FOR /F "tokens=*" %%A IN ('dir /B "%Outdir%*.dll.config"') DO (
13  ConfigMerger "%Outdir%%%A" "%Outdir%HeuristicLab 3.3.exe.config"
14)
15
16IF "%INTERACTIVE%"=="1" (
17  pause
18)
Note: See TracBrowser for help on using the repository browser.