Workspaces Substitutions

Substitutions can be used in the workspace settings. The substituted values will be replaced before the command is run.

Example:

Substitutions also work in the DebuggerExe setting

Example:



Substitutions:

$(Configuration) The current build configuration
$(Platform) The current build platform
$(BuildFile) The current single file to build
$(RootWorkspaceFilename) The root workspace filename
$(RootWorkspaceDirectory) The directory of the root workspace
$(RootWorkspaceName) The name of the root workspace
$(WorkspaceFilename) The workspace filename
$(WorkspaceDirectory) The directory of the workspace
$(WorkspaceName) The name of the workspace
$(Executable) The executable path
$(DebugCommand) Command the debugger uses to start the app
$(DebugCommandArgs) Command line arguments to pass to the debug command


See also:

Workspaces