简体   繁体   中英

Visual Studio 2017 Installer Desktop Shortcut Icon

I am trying to use the Visual Studio Installer for 2017 to package my program. I have added the deployment project to my solution, created a shortcut from the Primary Output in the Application folder, moved that to the User's Desktop folder, and set the icon in properties to the icon in the application folder. In the actual project, under the Properties menu (Project - Properties) I have also set the very same icon as a Resource in the icon box there. I then build the solution.

The problem is, if I run the installer it creates a shortcut on the desktop of the user, but always without the icon I've set. Please can someone help!?

I've tried re-creating the shortcut and re-adding the icon, but all my searches online suggest that the method I'm following should work.

I think the issue was with the icon itself as once I got a new one it worked. For anyone else who gets this issue, make sure your icon isn't too large, and also just try getting a new one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM