Hi Guys,
anyone could help me understand the difference between these two methods?
I am getting the same result.Code:path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase.Replace("file:/", "")); path_Startup = System.IO.Directory.GetCurrentDirectory();
I read something about shadow copies and Path.GetDirectoryName being more reliable because of that, but I couldn't find anything too clear.
Anyhelp would be appreciated.
Thanks,




Reply With Quote