I have created a C# .dll that is hosted by a running .exe. I need to find the path to where the .dll is installed because I have a directory that is placed relative to the .dll that I need to access during the execution of the code. I have tried the following, but the refer to the running .exe...not the .dll.
AppDomain.CurrentDomain.RelativeSearchPath
AppDomain.CurrentDomain.BaseDirectory
System.IO.Directory.GetCurrentDirectory
Any ideas?
AppDomain.CurrentDomain.RelativeSearchPath
AppDomain.CurrentDomain.BaseDirectory
System.IO.Directory.GetCurrentDirectory
Any ideas?