recently I stumbled upon this:
In my app I'm using Application.ExecutablePath
. Interestingly its return value seems not to be consistent. If I start the app directly it returns D:/path/to/app.exe
, but if I start it using the debugger it returns D:/path/to/app.EXE
.
It is not an actual problem, because I can use ToLower()
and do what I want.
But I was wondering if anyone knows a reasonable explanation for this behaviour, as stated here it seems not the only inconsistancy with Application.ExecutablePath
.
Thanks