When the user drops a file icon on top of my application's icon, I am able to retrieve the filepath of the dropped file. It is contained in args[0]
.
How can I retrieve that filepath when there is no Main()
?
IOW: My latest app is not console-based.
Main()
?obj\Debug\App.g.i.cs
orobj\Release\App.g.i.cs
files. There is always a "Main" or another static entry point :-)