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