Xabaril / AspNetCore.Hashids

Not predictable ids library for ASP.NET Core APIs.
Apache License 2.0
113 stars 15 forks source link

Not compatible with netstandard2.0 #7

Closed amjadkhan closed 3 years ago

amjadkhan commented 3 years ago

Tried to add package to a .Net Standard 2.0 project and generated an Error code NU1202 "Package AspNetCore.Hashids 1.1.1 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package AspNetCore.Hashids 1.1.1 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1)"

lurumad commented 3 years ago

Hi @amjadkhan

This package was created with the intention of being used in ASP.NET Core applications, for this reason target to netcoreapp3.1. If you want to hash your ids in a netstandard library you can use https://github.com/ullmark/hashids.net

Regards!