S
Sebastiao Pereira Filho
I have an external assembly that's access by an asp.net page. I want this assembly to load a xml configuration file, and I want to put this file in the same directory wich the assembly is located.
I tried to use System.Reflection.Assembly.GetExecutingAssembly().Location to get the assembly directory, but it returned the temporary path asp.net uses to run the assembly. Something like "c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\maindotnet\7b206850\749bb87\assembly\dl2\dcf60b7c\72634910_1f97c301\".
Is there a way to retrieve the assembly original path?
Thanks!
I tried to use System.Reflection.Assembly.GetExecutingAssembly().Location to get the assembly directory, but it returned the temporary path asp.net uses to run the assembly. Something like "c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\maindotnet\7b206850\749bb87\assembly\dl2\dcf60b7c\72634910_1f97c301\".
Is there a way to retrieve the assembly original path?
Thanks!