Path Macros in Vs, including outdir, projectdir, and solutiondir in VC ++

Source: Internet
Author: User
Description

$ (Remotemachine)

Set to "debug" on the property page"Remote computer"Attribute Value. For more information, see change project settings for C/C ++ debugging configuration.

$ (References)

The reference list separated by semicolons is added to the project.

$ (Configurationname)

The name of the current project configuration (for example, "debug ").

$ (Platformname)

The name of the current project platform (for example, "Win32 ").

$ (Inherit)

Specifies the order in which the inherited attributes appear in the command line written by the Project generation system. By default, the inherited attribute appears at the end of the current attribute.

$ (Noinherit)

So that any property that will be inherited will not be inherited. To avoid calculation at the same level, use$ (Stopevaluating). Use$ (Noinherit)This will cause the same attribute to be ignored.$ (Inherit).

$ (Stopevaluating)

Stop macro computing in the computing chain immediately. Appears in$ (Stopevaluating)Any subsequent values will not be included in the macro calculation value. If$ (Stopevaluating)In$ (Inherit)Previously, the inherited value of the current position in the calculation chain will not be connected to the macro value.$ (Stopevaluating)Yes$ (Noinherit).

$ (Parentname)

The name of the project. The name will be the parent folder name or project name.

$ (Rootnamespace)

Include applicationsProgram).

$ (Intdir)

Specifies the directory path relative to the project directory for the intermediate file. It is parsed"Intermediate directory"Attribute Value.

$ (Outdir)

Path of the output file directory, relative to the project directory. This is parsed"Output directory"Attribute Value.

$ (Devenvdir)

The installation directory of Visual Studio. NET (defined in the form of drive + path), including the Backslash "\" at the end.

$ (Inputdir)

Directory of the input file (definition: Drive + path); including the Backslash "\" at the end. If the project is input, this macro is equivalent to $ (projectdir ).

$ (Inputpath)

The absolute path name of the input file (definition form: Drive + path + basic name + file extension ). If the project is input, this macro is equivalent to $ (projectpath ).

$ (Inputname)

Enter the basic name of the file. If the project is input, this macro is equivalent to $ (projectname ).

$ (Inputfilename)

Name of the input file (defined as the basic name + file extension ). If the project is input, this macro is equivalent to $ (projectfilename ).

$ (Inputext)

The file extension of the input file. It includes "." Before the file extension. If the project is input, this macro is equivalent to $ (projectext ).

$ (Projectdir)

Project directory (definition form: Drive + path); including the Backslash "\" at the end.

$ (Projectpath)

The absolute path name of the project (definition form: Drive + path + basic name + file extension ).

$ (Projectname)

The basic name of the project.

$ (Projectfilename)

Project File Name (defined as basic name + file extension ).

$ (Projectext)

The file extension of the project. It includes "." Before the file extension.

$ (Solutiondir)

Solution directory (defined in the form of drive + path); including the Backslash "\" at the end.

$ (Solutionpath)

The absolute path name of the solution (definition form: Drive + path + basic name + file extension ).

$ (Solutionname)

The basic name of the solution.

$ (Solutionfilename)

Solution file name (defined as basic name + file extension ).

$ (Solutionext)

The file extension of the solution. It includes "." Before the file extension.

$ (Targetdir)

Directory of the generated primary output file (defined in the form of drive + path), including the Backslash "\" at the end.

$ (Targetpath)

The absolute path name of the generated primary output file (defined in the form of drive + path + basic name + file extension ).

$ (Targetname)

The basic name of the generated primary output file.

$ (Targetfilename)

Name of the generated primary output file (defined as the basic name + file extension ).

$ (Targetext)

The file extension of the generated primary output file. It includes "." Before the file extension.

$ (Vsinstalldir)

Install the Visual Studio. NET directory.

$ (Vcinstalldir)

Install the Visual C ++. Net directory.

$ (Frameworkdir)

Directory for installing. NET Framework.

$ (Frameworkversion)

The. NET Framework Version Used by Visual Studio. Combined with $ (frameworkdir), it is the complete path of the. NET Framework Version Used by Visual Studio.

$ (Frameworksdkdir)

Install the. NET Framework SDK directory .. . NET Framework SDK can be installed as part of Visual Studio. NET or separately.

$ (Webdeploypath)

The relative path from the Web deployment root to the position of the project output. Returns the same value as relativepath.

$ (Webdeployroot)

The absolute path to the <localhost> location. For example, c: \ Inetpub \ wwwroot.

$ (Safeparentname)

Effective name format. For example, the form is the parent level of the. resx file.

$ (Safeinputname)

The name of the file that is used as the valid class name, but does not include the file extension.

$ (Saferootnamespace)

The Project Wizard will addCode. The namespace name will only contain characters allowed in a valid C ++ identifier.

$ (Fxcopdir)

Path of the fxcop. CMD file. The fxcop. CMD file is not installed with all visual C ++ versions.

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.