I try to get current directory path of my project . I tried:
System.IO.Directory.GetDirectoryRoot();
Environment.CurrentDirectory;
System.IO.Path.GetFullPath(".\");
and in all option I get :
C:\Program Files (x86)\IIS Express\
Instead of project path .
Does anyone have a solution?