Invalid icon for shortcut

The icon specified in the Icon property for the selected shortcut 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 shortcut in the File System Editor.

  2. In the Properties window, select the Icon 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

Reference

Icon Property

Other Resources

File Types Management in Deployment