Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 16003 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
RevLine 
[7060]1@echo off
2
[13428]3IF "%TargetDir%"=="" (
4  SET TargetDir=.\bin\
[7060]5  SET INTERACTIVE=1
[15398]6  SET SolutionDir=.\
[7060]7)
8
[15660]9echo Recreating %TargetPath%.config...
10copy /Y "%ProjectDir%\app.config" "%TargetPath%.config"
[7060]11
12echo Merging...
[13428]13FOR /F "tokens=*" %%A IN ('dir /B "%TargetDir%*.dll.config"') DO (
[15660]14  "%SolutionDir%ConfigMerger.exe" "%TargetDir%%%A" "%TargetPath%.config"
[7060]15)
16
17IF "%INTERACTIVE%"=="1" (
18  pause
19)
Note: See TracBrowser for help on using the repository browser.