Skip to content

CefSharp v132.3.11 native binaries for chromiumembeddedframework.runtime.win-x** get copied over to bin folder #5055

Description

@snkar-hyland

The native assets come from chromiumembeddedframework.runtime.win-x86 and chromiumembeddedframework.runtime.win-x64 packages. Depending on your project structure you may need to explicitly exclude the native assets from those packages.

Thank you so much for your help. I was finally able to resolve the issue following the link you suggested and the following changes from your suggestion.

<!-- For older versions you might need to exclude native assets on the transitive dependency in this case chromiumembeddedframework.runtime.win-x86  -->
<ItemGroup>
  <PackageReference Include="CefSharp.WinForms" Version="123.0.60"/>
  <PackageReference Include="chromiumembeddedframework.runtime.win-x86" Version="123.0.6">
    <ExcludeAssets>native</ExcludeAssets>
  </PackageReference>
</ItemGroup>

Originally posted by @koder4076 in #4785 (reply in thread)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions