Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

HttpClientFactoryLite.dll is not strong-named #8

Description

@daiplusplus

Describe the bug

  • HttpClientFactoryLite.dll is not strong-named
  • So it cannot be used from a project that is strong-named, as strong-named assemblies can only load other strong-named assemblies.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new .NET Framework 4.8 Console project.
  2. Give that project a strong-name (VS > Project Properties).
  3. Add a NuGet reference to HttpClientFactoryLite.
  4. Instantiate a HttpClientFactoryLite.HttpClientFactory instance in your Main method.
  5. The project builds, but fails to run with this exception:

Error: System.IO.FileLoadException: Could not load file or assembly 'HttpClientFactoryLite, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044).

Expected behavior

I expected this assembly to be strong-named.

Screenshots

N/A

Additional context

N/A

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions