Binplace.exe is a tool used during the Shared Source CLI build process in conjunction with build.exe and nmake.exe to manage the temporary locations of built output files within the source tree and the final location of the build output. Each file produced by the build is stored in a directory (there is a global default and any sources file can override it), then each file is "binplaced" (copied) to the final build output directory. For Shared Source CLI, the root of this directory is specified by the TARGETCOMPLUS environment variable.
The location binplace copies the file in the final build output tree is determined from a dictionary keyed on the base name of the file being binplaced. The dictionary is stored by default at sscli/clr/bin/rotor_x86/{checked|free|fastchecked}/placefil.txt. Within this file "retail" means to place the file in the root of TARGETCOMPLUS and other destinations are paths relative to the root of TARGETCOMPLUS.
Usage:
binplace [options] filenames
| Argument | Description |
|---|---|
| filenames | The name of a file to be copied |
Binplace options must be specified with a dash (-).
| Option | Description |
|---|---|
| -? | Display usage message |
| -b subdir | Put file in subdirectory of default place |
| -d | Dump-override |
| -e | Don't exit if a file in list could not be binplaced |
| -k | Keep attributes (don't turn off archive) |
| -n path | Used with -x. Private debug-file symbol path |
| -o place-root-subdir | Alternate project subdirectory in place-root-subdir |
| -p place-file | |
| -q | Suppress writing to log file %BINPLACE_LOG% |
| -r place-root | |
| -t | Test mode |
| -v | Verbose output |
| -y | Used with -s. Don't create class subdirectories in the symbols tree |
| -ci | rc | app | arg0 |-argv1..-argn | rc = application error return code, app = application used to check images, -arg0..-argn = arguments to pass to application |
BINPLACE uses the following environment variables:
| Environment Variable | Description |
|---|---|
| BINPLACE_OVERRIDE_FLAGS | May contain additional switches |
| BINPLACE_PLACEFILE | Default value for -p flag |
Copyright (c) 2002 Microsoft Corporation