path to dll currently executing

  • Thread starter Thread starter John Grandy
  • Start date Start date
J

John Grandy

How would I obtain the path to the DLL which contains the code which is
currently executing ?

This is a Web Services project, and so the \bin\ folder is obviously at a
different path design-time v run-time.

Thanks.
 
How would I obtain the path to the DLL which contains the code which is
currently executing ?

This is a Web Services project, and so the \bin\ folder is obviously at a
different path design-time v run-time.

Thanks.

System.Reflection.Assembly.GetExecutingAssembly().Location.ToString();
 
Back
Top