• Coding
  • [.Net] Application Shortcuts on Desktop, Quick Launch & Start Menu

Hey guys,

I just finished a new application i was working on recently, and i want to add to the preferences a "Create Desktop Shortcut" checkbox.

I googled it and came across this solution. But it's not working, I received this error message:

Interop type 'IWshRuntimeLibrary.WshShellClass' cannot be embedded. Use the applicable interface instead.

Any solution for this ? Or maybe another way to do the trick.

Thanks.
Isn't the "Create Desktop Shortcut" done at install level?

You should check the solution explorer if you add a Setup & Deployment project (not sure of the exact name as I'm not in front of my work computer now). Somewhere in there you will find an option.

Not sure if this is the answer you were looking for though.