You receive a "Unable to build module 'Welcome'" error message when you build a setup and deployment project in Visual Studio .NET or in Visual Studio 2005 (817249)



The information in this article applies to:

  • Microsoft Visual Basic 2005
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • 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 '<module>' because the resource specified for '<property>' 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.

MORE INFORMATION

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 .
  4. Select Setup Projects under Templates, and then click OK.
  5. Right-click Application Folder, point to Add, and then click File.
  6. Locate and then click to select a bitmap file. Click Open.
  7. In Solution Explorer, right-click <project name>, point to View, and then click User Interface.
  8. In the User Interface window, right-click Welcome under the Start node, and then click Properties.
  9. In the Properties window, click BannerBitmap, and then click Browse.
  10. 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.
  11. Click OK.
  12. In the File System window, double-click Application Folder.
  13. Right-click the bitmap file that you added in Step 6, and then click Delete.
  14. On the Build menu, click Build Solution.
  15. In Task List, click to select the error message, and then press the F1 key.

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

307353 HOW TO: Create a Setup Package by Using Visual Studio. NET



Modification Type:MinorLast Reviewed:10/3/2006
Keywords:kbvs2005swept kbvs2005applies kbsetup kbDeployment kberrmsg kbprb KB817249 kbAudDeveloper