edge
edge copied to clipboard
Loaded .DLL cant find references
Heres my scenario:
I have several old .NET 4.0 DLLs that I need to be able to access via node. Due to things out of my control I cannot update those .dlls to use async so my solution was to write a wrapper DLL that I could call from node, which would in turn call my old .DLLs. I added project references to my "Wrapper" DLL to wire it all up.
This all works fine If I have all the DLL's in the same folder. This isnt ideal however as all the old legacy DLL's already live in the GAC, I dont want to duplicate them..but when I only have my wrapper DLL in the local folder It thows a bunch of errors stating It cant find the referenced DLL's. Is there a simple way for my wrapper DLL to correctly pick up all its references from the GAC?