I need to get the path like.
"C:\Projects\ProjectName\ConfigFiles\filename.txt"
It is for windows application.After installing this application i need to access "filename.txt" from the installed path.
I have tried many codes like
Assembly.GetExecutingAssembly().Location
System.IO.Directory.GetCurrentDirectory()
etc...
These all code returns "C:\Project\ProjectName\bin\Debug" path. Please help.
Thanks in advance.