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