#1
|
|||
|
|||
CopyFiles
I'm in the process of converting our old old batch files into VBP 5.7 ..
I found a case where I'm doing a CopyFiles and I specify which files specifically I want to copied in the include list: MFC71.DLL MSVCR71.DLL For whatever reason, these files were missing from the source folder, and yet, it did not fail the buld process. Do I have something mis-checked or am I using this feature improperly? Any suggestions? Mike. |
#2
|
|||
|
|||
CopyFiles - Found Problem
I think I found the problem..
In my "Include" list, a space appeared after the extension, ie: MFC71.DLL<space> MSVCRT.DLL<space> |
#3
|
|||
|
|||
The include (and exclude) lists in the Copy Files action are used as masks, meaning they only define the patterns a file must match to be included or excluded (respectively). No logic is included to enforce the existence of actual files matching these mask values.
One way to enforce the existence of files in a build is with a simple Run Script step (attached is an example build demonstrating this technique). |
Thread Tools | |
Display Modes | Rate This Thread |
|
|