Skip to content

Nuget - Remove netcoreapp3.0 hacks #3444

Description

@amaitland

As a temporary workaround whilst .Net Core 3.1/.Net 5.0+ support was being implemented some hacks were implemented to make the CefSharp.Wpf/CefSharp.WinForms/CefSharp.OffScreen packages work easily with .Net Core 3.0. Now that we have a new set of packages and .Net Core 3.0 is out of support we should remove the hacks. This will greatly reduce the size (approx 5mb reduction in size of CefSharp.Common as it has duplicate files).

IMPORTANT

  • Anyone targeting .Net Core 3.1/.Net 5.0+ using these older packages will either need to migrate to the newer packages or try setting AssetTargetFallback

  • For those targeting .Net Core 3.0 which are unable to upgrade to .Net Core 3.1 or greater then the old packages should still be usable by specifying AssetTargetFallback

Activity

  1. self-assigned this
    on Mar 12, 2021
  2. modified the milestone: 90.0.x on Mar 12, 2021
  3. amaitland commented on Sep 17, 2021

    @amaitland
    MemberAuthor

    Once .Net 6.0 is released (the next LTS version) I'll remove the hacks, looks like that'll be sometime in November

  4. added this to the 95.7.x milestone on Oct 12, 2021
  5. amaitland commented on Oct 12, 2021

    @amaitland
    MemberAuthor

    I need to resolve #3706 which is blocked on this issue so I'm attaching this to the 95 milestone. Little ahead of my original plan unfortunately.

  6. added a commit that references this issue on Oct 15, 2021
    9e55773
  7. amaitland commented on Nov 6, 2021

    @amaitland
    MemberAuthor

    For .Net Core 3.1/.Net 5.0+ use the following packages:


    • It is recommended that you set a <RuntimeIdentifier/> during development, adding the following to your project file <RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier> will use the default for your operating system. Please read Feature Request - Add .Net 5.0 Support #3284 (comment) for more information.
    • For .Net Core/.Net 5.0+ the Ijwhost.dll file is required. To support C++/CLI libraries in .NET Core, ijwhost was created as a shim for finding and loading the runtime. All C++/CLI libraries are linked to this shim, such that ijwhost.dll is found/loaded when the C++/CLI library is loaded.
  8. added 2 commits that reference this issue on Jan 7, 2025
    005f5c8
    66bb6c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions