Possible to place all CefGlue & CEF assembly in subfolder of VS project?

40 views
Skip to first unread message

Christian LeMoussel

unread,
Apr 16, 2015, 1:52:28 AM4/16/15
to cef...@googlegroups.com
Hi,

Is it possible to place all Xilium CefGlue & CEF dll in subfolder of VS project?

Perhaps it maybe possible to use the <probing/> app config entry to move all of CefGlue & Cef  assembly to a subfolder.

What do you think?


Regards,

Christian.

Dmitry Azaraev

unread,
Apr 16, 2015, 2:06:48 AM4/16/15
to cef...@googlegroups.com
Hi.

Xilium.CefGlue.dll - is usual assembly, so it will be loaded during assembly probing.
Native CEF dlls you can place also in any place, just call CefRuntime.Load(path) before CefRuntime.Initialize or CefRuntime.ExecuteProcess call. Also it is usually good idea to specify rooted path (i got some issues with using relative path, when run it under different environments).

I.e. something:
CefRuntime.Load(System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, your_relative_path_to_libcef_directory));


--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards,
   Dmitry

Christian LeMoussel

unread,
Apr 16, 2015, 11:29:15 AM4/16/15
to cef...@googlegroups.com, dmitry....@gmail.com
It's OK Dmitry.

I use
CefRuntime.Load(System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "CEF"));
and put all native CEF dlls  in CEF subfolder.

Christian.
Reply all
Reply to author
Forward
0 new messages