Rhys Hicks
Posts: 16
Joined: 2021-01-21
|
Hello,
I have been trying to get CefSharp up and running on a taskpane addin for Microsoft Word. Currently when trying to run the program I am unable to get past:
'The assembly with display name 'CefSharp.Core.Runtime' failed to load in the 'Load' binding context of the AppDomain with ID 2. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'CefSharp.Core.Runtime, Version=94.4.50.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138' or one of its dependencies. The system cannot find the file specified.'
I can confirm this package works on a regular WinForms project just not a AddinExpress project. I have tried unregistering/registering process etc. Any help on this would be appreciated. Can provide more info and demo app if need be. |
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hello Rhys,
Please send us the sample project(s) to the support email address; find it in {Add-in Express installation folder}\readme.txt; please make sure your email contains a link to this topic.
Regards from Poland (CEST),
Andrei Smolin
Add-in Express Team Leader |
|
Rhys Hicks
Posts: 16
Joined: 2021-01-21
|
Thank you file has sent. I have raised the question with the devs of the framework as well, this is what they said:
First step is to confirm if your plugin is going to be run in the default AppDomain. Because CefSharp is built with Visual C++ which only runs in the default AppDomain (won't work from a different one).
If you are then it should just be a matter of loading the libraries. |
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hello Rhys,
Thank you.
Rhys Hicks writes:
this is what they said
An Add-in Express add-in loads into a separate domain. VSTO add-ins also use non-default domains.
Regards from Poland (CEST),
Andrei Smolin
Add-in Express Team Leader |
|
Rhys Hicks
Posts: 16
Joined: 2021-01-21
|
Hi Andrei thanks for the reply! OK that at least settles this issue then. I will see if there's another framework or something that offers this functionality. I assume there is no work around? |
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hello Rhys,
No workaround exists.
Regards from Poland (CEST),
Andrei Smolin
Add-in Express Team Leader |
|