Romain

Romain

  • NA
  • 76
  • 37.3k

Deployment and load DLLs with IIS server

Aug 20 2021 1:13 PM

Good morning,

I am working on a C# project. I have implemented an API in C# and uses also C++/CLI. I am developing on Visual Studio and my solution generates 5 DLLs. Those 5 DLLs are then integrated into a web application which uses ASP.net and deployed with IIS. In order to make the things working with IIS (load the DLLs at the execution), I need some DLLs into the folder of IIS server : C:\Program Files\IIS Express. It bothers me a bit to copy some DLLs into the IIS Server folder. I would like to put the DLLs into a specific folder and indicates to IIS to load the DLLs at this place. I was thinking to use the “assembly resolver” but I did not succeed to have a solution which works. I would like to know if someone has an idea or a solution to make it working.

Thanks in advance.


Answers (7)