$ (ConfigurationName) The name of the current project configuration (for example, "debug| Any CPU ").
$ (OutDir) The path of the output file directory, relative to the project directory. This resolves to the value of the output directory property. It includes the trailing backslash "\".
$ (DEVENVDIR) The installation directory for Visual Studio 2005 (defined as drive + path), including the trailing backslash "\".
$ (PlatformName) The name of the current target platform. For example, "AnyCPU".
The directory of the $ (ProjectDir) project (defined as drive + path), including the trailing backslash "\".
The absolute path name of the $ (ProjectPath) project (defined as drive + path + base name + file extension).
The base name of the $ (ProjectName) project.
The file name of the $ (ProjectFileName) project (defined as base name + file extension).
The file name extension of the $ (ProjectExt) project. It includes "." In front of the file name extension.
The directory of the $ (SolutionDir) solution (defined as drive + path), including the trailing backslash "\".
The absolute path name of the $ (Solutionpath) solution (defined as drive + path + base name + file extension).
The base name of the $ (solutionname) solution.
The file name of the $ (solutionfilename) solution (defined as base name + file extension).
The file name extension of the $ (solutionext) solution. It includes "." In front of the file name extension.
$ (TargetDir) The directory that generated the primary output file (defined as drive + path). It includes the trailing backslash "\".
$ (TargetPath) The absolute path name of the generated primary output file (defined as drive + path + base name + file extension).
The base name of the main output file generated by $ (TargetName).
The file name (defined as base name + file extension) of the main output file generated by $ (targetfilename).
$ (targetext) The file name extension of the primary output file that is generated. It includes "." In front of the file name extension.
For example:
xcopy $ (TargetDir) $ (TargetName). dll: \.. \.. \.. \.. \product\portal\workflowapp\/y
xcopy $ (TargetDir) $ (TargetName). pdb. \.. \.. \.. \.. \product\portal\workflowapp\/y
xcopy $ (TargetDir) $ (TargetName). xml: \.. \.. \.. \.. \product\portal\workflowapp\/y
C # xcopy command pre-build event command line and post-build event command line