Skip to content

WPF XBAP FileNotFoundException when attempting to load CefSharp dlls #2410

Description

@churstz

modulesloaded
cefheader
exception

WIndows10 x64 .NET 4.6.1 Framework
WPF XBAP application running in full trust under AnyCPU with the Resolver code to load the appropriate bitness assemblies from the Debug directory (see screenshots above).

The PDBs from Nuget don't sync with the source code so I can't tell the exact line, but it 's in the CefSharp.Core project in the Cef.h file when the Cef.Initialize(settings) is called. The failure is around the line: (see screenshot above)
auto success = CefInitialize(main_args, *(cefSettings->_cefSettings), app.get(), NULL);

System.IO.FileNotFoundException was unhandled
Message: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Additional information: Could not load file or assembly 'CefSharp, Version=63.0.3.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138' or one of its dependencies. The system cannot find the file specified.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions