I have a third party library compiled to a Net DLL. It uses the following reference AppDomain.CurrentDomain.BaseDirectory to get the current working directory, however CurrentDomain is null when this is run from Unity.
How do I get AppDomain.CurrentDomain.BaseDirectory to work or what do I use instead to get the current directory of where the executable is running from.
This is on Windows 7 using C#