The problem was resolved, I just updated the versions of other PackageReferences that I had here such as Azure, Redis, Jwt and EasyAbp and it resolved it. Honestly, all my PackageReferences named Lepton were correct in version 8.2 and in the case of Anjali_Musmade's comment it wouldn't work, as we are not using LeptonX.