I want to create two shortcuts on Desktop after publishing the app, both of them should pass different args to the Main method of the Program class:
How can I achieve this? Or is it even possible?
I want to create two shortcuts on Desktop after publishing the app, both of them should pass different args to the Main method of the Program class:
How can I achieve this? Or is it even possible?
Do you already use any sort of installer for your application? One example how you could do this would be to use an installer like InnoSetup for creating the desktop icons (example: How to create a desktop icon with Inno Setup). Of course you can also do this programmatically but without knowing how you publish your app I cannot give you any specific answer for your way of publishing.