You are currently offline, waiting for your internet to reconnect

A warning symbol appears in Solution Explorer next to a reference when you rebuild a solution that contains two projects in Visual Studio 2005

SYMPTOMS
Consider the following scenario. You open a solution in Microsoft Visual Studio 2005. The solution contains two projects that are named Project A and Project B. Project A contains a reference to a file that Project B generates during the build process. The project build order for the solution builds Project A before Project B. You rebuild the solution by clicking Rebuild Solution on the Build menu. In this scenario, a warning symbol appears in Solution Explorer. The warning symbol appears under Project A next to the reference to the file that Project B generates.

Note The warning symbol is a yellow triangle that contains a black exclamation point (!).
CAUSE
This behavior may occur when a project contains a reference to a file that another project in the solution generates. If the referencing project is built before the referenced project is built, Visual Studio 2005 does not know if the referenced file is available.
WORKAROUND
To work around this behavior, use one of the following methods.

Method 1

After the build process is finished, click the warning symbol that appears next to the reference. When you do this, Visual Studio 2005 updates the reference.

Method 2

Change the project build order for the solution. To do this, follow these steps:
  1. Start Visual Studio 2005.
  2. On the File menu, point to Open, and then click Project/Solution.
  3. Locate the solution that you want to open, and then click Open.
  4. On the Project menu, click Project Build Order.
  5. Click the Dependencies tab.
  6. Click the project dependencies, and then click OK.
Properties

Article ID: 919826 - Last Review: 06/29/2006 16:01:00 - Revision: 1.0

Microsoft Visual Studio 2005 Team System Architect Edition, Microsoft Visual Studio 2005 Team System Developer Edition, Microsoft Visual Studio 2005 Team System Test Edition, Microsoft Visual Studio 2005 Team Foundation, Microsoft Visual Studio 2005 Standard Edition, Microsoft Visual Studio 2005 Professional Edition, Microsoft Visual Studio 2005 Express Edition

  • kbtshoot kbprb KB919826
Feedback