PeterOcean
Programmer
I am looking for the equivilant of the vb.6 App.Path.
I have an ASP.NET project that references a dll. I want that dll to read information from an XML file that is on the same file path as the dll. I have tried AppDomain.CurrentDomain.BaseDirectory; and System.Reflection.Assembly.GetExecutingAssembly().Location;, but that gives me the path of the executable and not the path of the dll.
Has anyone got any ideas?
Thanks Peter
I have an ASP.NET project that references a dll. I want that dll to read information from an XML file that is on the same file path as the dll. I have tried AppDomain.CurrentDomain.BaseDirectory; and System.Reflection.Assembly.GetExecutingAssembly().Location;, but that gives me the path of the executable and not the path of the dll.
Has anyone got any ideas?
Thanks Peter