Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

/AI (Specify Metadata Directories)

Specifies a directory that the compiler will search to resolve file references passed to the #using directive.

/AIdirectory

directory

The directory or path for the compiler to search.

Only one directory can be passed to an /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 How to: Open Project Property Pages.

  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

Community Additions

ADD
Show:
© 2015 Microsoft