Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

/AI (Specify Metadata Directories)

/AIdirectory

where:

directory
The directory or path for the compiler to search.

Remarks

/AI specifies a directory that the compiler will search to resolve file references passed to the #using directive. Only one directory can be passed to a /AI invocation; specify one /AI option for each path you want the compiler to search.

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the C/C++ folder.
  3. Click the General property page.
  4. Modify the Resolve #using References property.

To set this compiler option programmatically

See AdditionalUsingDirectories Property.

See Also

Compiler Options | Setting Compiler Options

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.