F
Frank Rizzo
How to get Application Path?
I can't really use
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase
because it returns the path in the file://c/winnt/.../filename.exe
format, which I can't really use to open files, etc...
I also don't want to use System.Windows.Forms.Application.ExecutablePath
because I don't want to include Windows Forms for my console app.
Thanks
I can't really use
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase
because it returns the path in the file://c/winnt/.../filename.exe
format, which I can't really use to open files, etc...
I also don't want to use System.Windows.Forms.Application.ExecutablePath
because I don't want to include Windows Forms for my console app.
Thanks