Share via


Specifying Projects in OACR Commands

Many of the Microsoft Auto Code Review (OACR) Commands apply specifically to projects*.* Projects can have multiple flavors, for example, checked and free builds. Projects and flavors are defined in the OACR.ini configuration file. The Oacr.ini file sets a default flavor to be used when no flavor is specified in the command.

For the OACR commands that take project as an argument, project can be specified in the following ways:

  • project:flavor
    Specifies a project and flavor that are defined in Oacr.ini. For example, you might specify WDKSamples.x86fre.

  • project [ flavor ]
    Specifies a project (and optionally, the flavor) that is defined in Oacr.ini.

  • all (or /all)
    Specifies all projects that are defined in Oacr.ini (default flavor).

  • last (or /last)
    Specifies the project for which the most recent oacr count, oacr list, oacr showstats, or oacr view command was run.

You can use wildcards in project and flavor names. Use the asterisk (*) to replace one or many characters and the question mark (?) to replace a single character.

Not all commands support all and last. However, they are all supported unless otherwise noted.

Use the oacr showini /projects command to lists the projects that are defined in Oacr.ini.

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011