visual studio versioning is different that what was installed


So i am working on a project in c# and multiple times I have installed nuget packages and put the latest version but then im having errors that it cant find a completely different versioning number. Here is one nuget package that i had this problem with

version i installed

and this is what version is put into my project

version in project

I am not sure why this is happening but if anyone has had this issue how have you fixed it? the way ive looked up how to fix this was not bringing me any results. thank you

edit: thought id also show the error my service gets from it when starting

error message

Source: Visual Studio Questions