The current project directory

Oct 4 2008 5:01 PM

Hi everyone,

I need to get the current project directory but all this code samples  return only the path of  the startup project.

string s1 = AppDomain.CurrentDomain.DynamicDirectory;

string s2 = AppDomain.CurrentDomain.BaseDirectory;

string s3 = Environment.CurrentDirectory;

string s4 = System.IO.Directory.GetCurrentDirectory();

Can someone please help me?

Thank's in a head , Lior


Answers (2)