I need to write a file in the same folder where a console ClickOnce .application (executable file) resides. The folder where it launches from.
.application
I tried u
To find the folder location, you can just run the app, open the task manager (CTRL-SHIFT-ESC), select the app and right-click|Open file location.