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
- Double-click the error message in the Task List to go to the deployment project in Solution Explorer.
- In the Properties window, select the AddRemoveProgramsIcon property and choose (Browse...) from the drop-down list.
- In the Icon dialog box, click the Browse button.
- In the Select item in project dialog box, select a folder and select a file that contains a valid icon.