zHaytam / SmartBreadcrumbs

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
https://blog.zhaytam.com/2018/06/24/asp-net-core-using-smartbreadcrumbs/
MIT License
161 stars 77 forks source link

Make library as netstandard, not netcoreapp #20

Closed Kharabet closed 5 years ago

Kharabet commented 5 years ago

Hi @zHaytam ,

When i tried to use your package in my class library, I've got an error: error NU1202: Package SmartBreadcrumbs 1.0.3.3 is not compatible with netstandard2.0 (.NETSt andard,Version=v2.0). Package SmartBreadcrumbs 1.0.3.3 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0)

So I found the solution. (According this issue). You should make it as netstandard that anyone can use it in all their projects. Not only in web project.

Thank you

zHaytam commented 5 years ago

Indeed it the library should use .NET Standard instead. I will fix this in the next update, thank you!

Kharabet commented 5 years ago

I've just created a pull request (#21). I think now this issue should be closed.