I see that there are some ways to get the application folder path:
Application.StartupPath
System.IO.Path.GetDirectoryName( System.
I have used this one successfully
System.IO.Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName)
It works even inside linqpad.