in my Setup project i delete icon and add new one now when i build the setup project i have this error
Invalid icon file xxx located in 'application folder'
i use VS 2010
in my Setup project i delete icon and add new one now when i build the setup project i have this error
Invalid icon file xxx located in 'application folder'
i use VS 2010
I think this might help you:
Add a valid icon in the Project. Then left click to select the installer project (in solution explorer). Go to properties window, change the AddRemoveProgramsIcon. Browse and set it to the newly added valid icon.
Alternately, just change the AddRemoveProgramsIcon value to "None" in your install project, if you are not ready to specify an icon file yet.
I was having the same issue, I had the icon in my application folder, I saw it in the explorer, everything looked fine, but I was having problems with TFS, going back and forward then the problem appeared, what I did was the following:
I think you're using that icon for shortcuts, if so you have to re-affect all shortcuts to the new icon, same thing when you delete an assembly & even if you replace it with a new one with the same name you have to re-affect all
Use a different icon and rebuild the project again. It seems to get stuck if you use a different name. Alternatively you can also close the solution and reopen it again to clear the error.
All the above answers work, however was not exactly what I needed. If you're still having trouble getting past this error, go through the file system by double clicking one of your dependencies in your deployment folder.
Go through each sub-folder and check any shortcut you see in the folders (Type == Shortcut) and check their respective "Icon" setting.
© 2022 - 2025 — McMap. All rights reserved.