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

System.IO.FileNotFoundException: 'Could not load file or assembly 'System.ServiceModel.Security, Version=4.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.' #643

@Looooooka

Description

@Looooooka

Ported my library to .NET Standard
Referenced it in a 4.6.2 .NET project.
If I use DnsEndpointIdentity in the library I get the exception.
Even though it is supposedly compatible?
Tried referencing the System.IdentityModel and System.ServiceModel.Security dlls but it just doesn't work.
Any idea which dll needs to be referenced in a .NET project for this to work?
Perhaps something needs to be added to the app.config to make it use the 4.6.2 dlls when looking for this assembly reference?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions