VS2012 Package Deployment "Cannot extract icon with index 0 from file Xxx.exe" solution

Source: Internet
Author: User

Recently use vs2012 to do OpenCV project, when packaging is always encountered cannot extract icon with the index 0 from file Xxx.exe This problem, took half a day, just to get it done.

In order to let everyone less detours, special share the solution:

1, first the size of (16*16 or 32*32 or 48*48) of the. ico format icon picture is copied to the project directory;

2. Then refresh in the Explorer in VS and add the icon picture to the project (right-click->include in Project);

3, in the project right-click Add, a new window appears, select the icon type, and then click the "Import" button to import the icon file;

4. Regenerate the project.

VS2012 Package Deployment "Cannot extract icon with index 0 from file Xxx.exe" solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.