In my solution I have WinForms application called JCommander and JCommanderSetupProject.
In JCommander Resources folder i have an icon file i want to be placed on Desktop and Start Menu.
How i do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From what you’ve said, I think you’re talking about an application shortcut, which is the icon you normally find on your desktop, start menu or quick-start bar, if I’m mistaken please tell me.
There’s some responses at Creating application shortcut in a directory which answer your question.
The main answer is to use ShellLink.cs, which takes care of everything for you after you give it whatever parameters it needs. (You might need to import it into a separate project and edit some parts).
Example: