I have an AddIn application. It is composed of several class library dll files.
The host application that the AddIn is launched from is found in a completely different folder on the hard drive. Not a parent nor subdirectory. And this is by the host application's "AddIn" design schema. I cannot do anything about this.
I am trying to use CefSharp for users to login with. However, it appears that CefSharp is looking for the dependency redistributable files based on the executable's location at runtime.
That is not where the dependency files are going to be. And I do not have the option to place them there, since I believe the host application is using CefSharp to its own degree, using different versions of those same dependency files.
I know that CefSettings can be set to guide locales to other directories. Is there any way to do the same thing for libcef.dll and company?
I've tried Fody Costura to combine the dependencies into my own, hoping that CefSharp would see the dependencies at runtime, but all I'm getting, consistently, is
"Could not load file or assembly 'CefSharp, Version=75.1.142.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138' or one of its dependencies. The system cannot find the file specified."
I've also tried finding out exactly WHICH dependency it's not finding through ProcessMonitor. It's a lot to look through but I'm noticing that it is attempting to find a file at "en/CefSharp.Wpf.Resources.dll" in several locations. I think this is probably just noise.
Also, I suspect this whole project will be moving to .NET Core as the GUI options open up with .Net Core 3.0, so if there is a .Net Core direction that would be more future proof to adopt for a simple login-and-leave, please let me know.