Jeavon / Slimsy

Effortless Responsive & Lazy Images with LazySizes and Umbraco
MIT License
72 stars 23 forks source link

Can't add .AddSlimsy() on .NET 7 #52

Closed tomtordev closed 1 year ago

tomtordev commented 1 year ago

Hi, I'm using Umbraco 11 with .NET 7, the nuget package adds correctly to the project, but the ".AddSlimsy()" is not being recognized on ConfigureServices method. Slimsy namespace is recognized from "using", but service is not from IServiceCollection.

I saw from source code that the package .NET version is 6. Could this be the problem?

tomtordev commented 1 year ago

I thought ".AddSlimsy()" should be added to services, but must be added to services.AddUmbraco().