I'm trying to install an application that I created in VB.Net VS2019, this app is an empty form with an icon on the form and no code at all.
The app is being deployed to a shared drive.
When I execute the .exe or the .application the ClickOnce Installer is unable to download the icon of the form.
After a couple minutes waiting this are the errors I get:
TLDR: I cant install the application because I cant download the icon according to the error, similar apps can be installed without a problem, this happens only with new apps.
Things I've tried:
In addition I have other ClickOnce apps deployed in the same path just different folders and they all are working properly and I can install those without a problem.
I managed to solve the issue, the problem was that the icon that is used on the shortcut of the app was 66KB, and when I checked all the other app's icons they were like 2KB on average, when I swapped icons the application was installed immediately.
TLDR: Icon was too heavy and the app was unable to download it. (66KB)
Solution: change icons.