Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cuongdn opened this issue Nov 14, 2016 · 1 comment
Closed

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

cuongdn opened this issue Nov 14, 2016 · 1 comment

Comments

@cuongdn
Copy link

cuongdn commented Nov 14, 2016

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

@cuongdn
Copy link
Author

cuongdn commented Nov 14, 2016

Sorry for my mistake. I add "Humanizer.xproj": "2.1.0" and it worked

@cuongdn cuongdn closed this as completed Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant