The get the current assembly’s path you could execute this code to get the current path:
This code will return the directory where the assembly is curently located. For an ASP.NET application this will be “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files”.
To get the path of the assembly as it is installed (ex. c:\inetpub\wwwroot\<myapp>\bin) execute this code: