Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2877_HiveImprovements/MergeConfigs.cmd @ 16332

Last change on this file since 16332 was 15660, checked in by swagner, 7 years ago

#2877: Generalized MergeConfigs scripts, cleaned app.config files, corrected post-build events

File size: 409 bytes
Line 
1@echo off
2
3IF "%TargetDir%"=="" (
4  SET TargetDir=.\bin\
5  SET INTERACTIVE=1
6  SET SolutionDir=.\
7)
8
9echo Recreating %TargetPath%.config...
10copy /Y "%ProjectDir%\app.config" "%TargetPath%.config"
11
12echo Merging...
13FOR /F "tokens=*" %%A IN ('dir /B "%TargetDir%*.dll.config"') DO (
14  "%SolutionDir%ConfigMerger.exe" "%TargetDir%%%A" "%TargetPath%.config"
15)
16
17IF "%INTERACTIVE%"=="1" (
18  pause
19)
Note: See TracBrowser for help on using the repository browser.