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 (!).
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.
To work around this behavior, use one of the following methods.
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.
Change the project build order for the solution. To do this, follow these steps:
Start Visual Studio 2005.
On the File menu, point to Open, and then click Project/Solution.
Locate the solution that you want to open, and then click Open.
On the Project menu, click Project Build Order.
Click the Dependencies tab.
Click the project dependencies, and then click OK.
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