How to: Specify Include Directories for Resources

To specify include directories for all projects

  • See VC++ Directories Property Page and follow the steps in the To specify a per-user directory list procedure.

    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