T
Thomas Koch
Hi - I would like to load other files relative to the application config
file.
Do anyone know if this is possible?
If I do Environment.CurrentDirectory it will work if the program is launched
directly from there. Another approach is to combine CurrentDirectory with
the CommandLine string in order to locate the startup assembly, and thus the
directory of the application config file.
It all seems very clumsy to me and I am not even sure that'll work very well
in an ASP.NET application.
I wonder if anyone knows of a better technique.
Cheers
Thomas Koch
file.
Do anyone know if this is possible?
If I do Environment.CurrentDirectory it will work if the program is launched
directly from there. Another approach is to combine CurrentDirectory with
the CommandLine string in order to locate the startup assembly, and thus the
directory of the application config file.
It all seems very clumsy to me and I am not even sure that'll work very well
in an ASP.NET application.
I wonder if anyone knows of a better technique.
Cheers
Thomas Koch