Skip to content

Can not add Humanizer 2.1.0 in Class library (.Net Core) #596

Closed
@cuongdn

Description

@cuongdn

Hi
I am using VS 2015 Update 3 to create a Class Library (.Net Core), then using package manager to add Humanizer.

Output package manager

Install-Package Humanizer
Installing NuGet package Humanizer.2.1.0.
Successfully installed 'Humanizer 2.1.0' to Core

Output error list

The dependency Humanizer >= 2.1.0 could not be resolved
NuGet Package Restore failed for one or more packages. See details in the Output window.

project.json

{
  "version": "1.0.0-*",

    "dependencies": {
        "Humanizer": "2.1.0",
        "NETStandard.Library": "1.5.0-rc2-24027"
    },

  "frameworks": {
    "netstandard1.5": {
      "imports": "dnxcore50"
    }
  }
}

How can I fix this issue? Thanks

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