You cannot locate the complete path of the source file in a Visual C++ .NET or Visual C++ 2005 project (820995)



The information in this article applies to:

  • Microsoft Visual C++ 2005 Express Edition
  • Microsoft Visual C++ .NET (2003)
  • Microsoft Visual C++ .NET (2002)

SYMPTOMS

In Microsoft Visual C++ .NET or in Microsoft Visual C++ 2005, you cannot locate the complete path of the source file in the Property Pages dialog box. When multiple files with the same name exist in different folders, you might not be able to identify the exact file that the compiler might use.

RESOLUTION

To identify the complete path of the source file in Visual C++ .NET or in Visual C++ 2005, follow these steps:
  1. Start Microsoft Visual Studio .NET or Microsoft Visual Studio 2005.
  2. On the File menu, point to New, and then click Project.
  3. Click Visual C++ Projects under Project Types, and then click Win32 Project under Templates. Accept the default settings.

    Note In Visual Studio 2005, click Visual C++ under Project Types, and then click Win32 Project under Templates.
  4. In Solution Explorer, click Source Files.
  5. On the View menu, click Properties Window or Press F4.
You may notice the complete path of the source file in the Properties pane.

STATUS

This behavior is by design.

MORE INFORMATION

To identify the complete path of the source file in Microsoft Visual C++ 6.0, follow these steps:
  1. Right-click the source file in the workspace.
  2. Click Properties. The Properties dialog box appears with the complete path of the source file.

Steps to Reproduce the Behavior

To reproduce the behavior in Visual Studio .NET, follow these steps:
  1. Start Visual Studio .NET or Visual Studio 2005.
  2. On the File menu, point to New, and then click Project.
  3. Click Visual C++ Projects under Project Types, and then click Win32 project under Templates. Accept the default settings.

    Note In Visual Studio 2005, click Visual C++ under Project Types, and then click Win32 Project under Templates.
  4. Expand Solution Explorer.
  5. In the Project pane, right-click a source file, and then click Properties.
You may notice that the complete path of the source file does not exist in the Properties Pages dialog box.

Modification Type:MajorLast Reviewed:1/17/2006
Keywords:kbIDEProject kbdir kbprb KB820995 kbAudDeveloper