Microsoft KB Archive/817249

= You receive a &quot;Unable to build module 'Welcome'&quot; error message when you build a setup and deployment project in Visual Studio .NET or in Visual Studio 2005 =

Article ID: 817249

Article Last Modified on 12/6/2006

-

APPLIES TO


 * Microsoft Visual Basic 2005
 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





Beta Information
This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location from which you downloaded the release.



SYMPTOMS
When you build a setup and deployment project in Microsoft Visual Studio .NET or Microsoft Visual Studio 2005, you may receive the following error message:

<%ProjectPath%>\ProjectName.vdproj Unable to build module 'Welcome' because the resource specified for 'BannerBitmap' was not found in the project.

When you press the F1 key for more information about the error, a general deployment error Help topic is displayed instead of a Help topic that explains the exact cause of the error (for example, file locked or missing file). The following Help topic is displayed when you press the F1 key:

Unable to build module ' ' because the resource specified for ' ' was not found in the project



CAUSE
When you press the F1 key, you receive a general deployment error Help topic. This occurs because Visual Studio .NET or Visual Studio 2005 cannot determine the exact cause of the error.



RESOLUTION
There is no resolution for this issue in the Microsoft .NET Framework Software Development Kit (SDK) documentation. However, you can double-click the error message in Task List to locate the error in the project. Depending on the error message, you may be able to fix the error.



STATUS
This behavior is by design.



Steps to Reproduce the Behavior

 * 1) Start Microsoft Visual Studio .NET or Microsoft Visual Studio 2005.
 * 2) On the File menu, point to New, and then click Project.
 * 3) In the New Project dialog box, click to select Setup and Deployment Projects from the Project Types list.

Note In Visual Studio 2005, click to select Other Project Types, and then click Setup and Deployment.
 * 1) Select Setup Projects under Templates, and then click OK.
 * 2) Right-click Application Folder, point to Add, and then click File.
 * 3) Locate and then click to select a bitmap file. Click Open.
 * 4) In Solution Explorer, right-click < >, point to View, and then click User Interface.
 * 5) In the User Interface window, right-click Welcome under the Start node, and then click Properties.
 * 6) In the Properties window, click BannerBitmap, and then click Browse.
 * 7) In the Select Item in Project dialog box, double-click Application Folder, and then click to select the bitmap file that you added in Step 6.
 * 8) Click OK.
 * 9) In the File System window, double-click Application Folder.
 * 10) Right-click the bitmap file that you added in Step 6, and then click Delete.
 * 11) On the Build menu, click Build Solution.
 * 12) In Task List, click to select the error message, and then press the F1 key.

