Specifying Include Directories for Resources

To specify include directories for all projects

  1. On the Tools menu, click Options.

  2. In the Options dialog box, expand the Projects folder, then click the VC++ Directories page.

  3. In the Show directories for: drop-down list, select Include files.

  4. Use the buttons in the Options dialog box to add additional include paths.

    This is a global setting that affects all projects. In addition, relative include paths for an .rc file in Visual Studio must be based on the directory where the .rc file is currently located.

To specify include directories for a specific project

  1. Right-click your project in Solution Explorer and select Properties from the shortcut menu.

  2. In the <Project> Property Pages dialog box, click the Resources page, then specify the additional include directories in the Additional include directories property.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Reference

Resource Includes Dialog Box

TN035: Using Multiple Resource Files and Header Files with Visual C++

Symbols: Resource Identifiers

Resource Files (Visual Studio)

Resource Editors