Closed
Description
CoreConsole uses argv[0] to determine it's location, which causes problems when a coreconsole-based app is on the PATH and is run from shell.
Repro steps:
Create a simple C# app (just something that prints hello world will work, or use an existing test app)
Compile it assemble a coreconsole-based app so that you have a single-folder standalone application
Put that folder on the PATH environment variable
Attempt to run it from while in the directory containing the app => It should work
Change to another directory => It now fails with Could not get full path to current executable: No such file or directory