/AI (Specify Metadata Directories)
Visual Studio .NET 2003
/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
- Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
- Click the C/C++ folder.
- Click the General property page.
- Modify the Resolve #using References property.
To set this compiler option programmatically
See AdditionalUsingDirectories Property.