C# Programming
02-09-2010, 12:00 AM
Hi Guys,
I am writing an application where i need to log errors and some information,so for this i have written a class that is working perfectly fine when in debug and in re;ease mode but when i am making an exe and trying same application logs have not been written.
am using
string baseDir = AppDomain.CurrentDomain.BaseDirectory +
AppDomain.CurrentDomain.RelativeSearchPath;
to retrive the directory ********...
can you guide me where i am lost.
Thanks
Vikasvikas da
I am writing an application where i need to log errors and some information,so for this i have written a class that is working perfectly fine when in debug and in re;ease mode but when i am making an exe and trying same application logs have not been written.
am using
string baseDir = AppDomain.CurrentDomain.BaseDirectory +
AppDomain.CurrentDomain.RelativeSearchPath;
to retrive the directory ********...
can you guide me where i am lost.
Thanks
Vikasvikas da