I need to add assembly into my asp.net application whithout local copy to bin folder, without adding it to GAC. It should be path-reference like C:\bin and this folder is not subfolder of application. Does anybody have suggestions?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use reflection for that:
With the
assemblyinstance, you can execute methods on the fly and pretty much do everything.Also worth noting that with ASP.NET you run as a different user with less privileges in the operating system, so proper permissions have to be set over the folder where the DLL is located.