C # vs Pre-build event command line and post-build event command line

Source: Internet
Author: User

Macro Description $ (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 of the generated 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. Use: Copy "$ (solutiondir) dal\bin\debug\*.*" "$ (TargetDir)"
xcopy/r/y "$ (ProjectDir) appservice\config.xml" "$ (TargetDir) configfile\" xcopy/r/y "$ (ProjectDir) app\findaround\ Searchquery.xml "" $ (TargetDir) configfile\ "xcopy/r/y" $ (ProjectDir) appsys\aboutinfo\update.xml "" $ (TargetDir) "

  

  

C # vs Pre-build event command line and post-build event command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.