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.

Referencing a .net standard class library project in .net Framework web app and System.IO.FileNotFoundException throws #410

Closed
@mesuttalebi

Description

@mesuttalebi

Created a .net Standard 1.4 class library, and then used it in a web application created by targetting .netframework 4.6.2. when running web application the blow exception was thrown.

Could not load file or assembly 'System.Security.Claims, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I tested same library with .net core web application and there was no error.
in .netframework web application manually installed system.security.claims 4.3 nuget package solved the problem.

I can't understand if this error is for Visual Studio 2017 tooling or Nuget package manager's package restore. but I think it should be solved.

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