Assembly location

Locating and checking an executing DLL on a running web server or other application

Edit - even though the steps described below related to an example with IIS, you can use this technique for any running process, it’s just a matter of identifying the process id.

Finding the Location of a Running Assembly in .Net

For many reasons you might want to know where a running assembly is located on your filesystem. I had to do this once when I was compiling classes at runtime and had a dependency on EntityFramework.