I have a COM/ATL DLL (Built in VS2012) that is built with /cli, and references a .NET assemly to do much of its internal work. The problem I am having is registering the DLL - it won't register unless the .NET assembly is either in the GAC or in the same directory as Regsvr32.exe (Windows\System). I would assume that the assembly will always need to be in the same directory as the calling process.
It would be preferable for it to load from the same same directory as the COM dll. Can I make that happen, and if so, how?
Creating both projects in VS2012.
Cheers,
Mick