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

not installable for projects that targets .NET client profile #575

Closed
johannes-schmitt opened this issue Jul 21, 2016 · 3 comments
Closed

Comments

@johannes-schmitt
Copy link

Humanizer.Core cannot not be installed (via NuGet) if the the project targets ".NET Framework 4 Client Profile" or ".NET Framework 3.5 Client Profile" (see attached screenshots)

error_with_3 5_client_profile
error_with_4 0_client_profile

@hangy
Copy link
Contributor

hangy commented Jul 21, 2016

The earliest .NET Framework to support a .NET Platform Standard version is .NET Framework 4.5. This is because the new portable API surface area (aka System.Runtime based surface area) that is used as the foundation for the .NET Platform Standard only became available in that version of .NET Framework. Targeting .NET Framework <= 4.0 requires multi-targeting.

(Source)

By targeting netstandard1.0, this basically makes Humanizer incompatible with .NET <= 4.0.

@clairernovotny
Copy link
Member

Humanizer 2.x has been .NET 4.5+ only. For earlier versions, I would recommend using the 1.37 version.

@johannes-schmitt
Copy link
Author

Thanks for the quick reply and thanks for the clarification.

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

3 participants