This documentation is archived and is not being maintained.

Invalid icon file 

The icon specified in the AddRemoveProgramsIcon property for the selected deployment project is not a valid icon file. The icon must be an icon file (.ico) or an icon contained as a resource in an .exe or .dll file.

This error can also occur if an icon file has been removed from the project prior to building.

To correct this error

  1. Double-click the error message in the Task List to go to the deployment project in Solution Explorer.

  2. In the Properties window, select the AddRemoveProgramsIcon property and choose (Browse) from the drop-down list.

  3. In the Icon dialog box, click the Browse button.

  4. In the Select item in project dialog box, select a folder and select a file that contains a valid icon.

See Also