0

I am working on a project in C# and multiple times I have installed nuget packages and put the latest version but then I get errors that it can't find a completely different version number.

Here is one nuget package that I had this problem with:

Version I installed

and this is the version that is added to 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 I've 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

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
mdarby
  • 1
  • Does this answer your question? [Could not load file or assembly or one of its dependencies](https://stackoverflow.com/questions/4469929/could-not-load-file-or-assembly-or-one-of-its-dependencies) – devNull Sep 15 '21 at 02:27
  • `it cant find a completely different versioning number` - Well that is a completely different versioning number. *4.7.1* is the [NuGet package version](https://learn.microsoft.com/en-us/nuget/concepts/package-versioning), whereas *2.0.8.0* is the [Assembly version](https://learn.microsoft.com/en-us/dotnet/standard/assembly/versioning) – devNull Sep 15 '21 at 02:29

0 Answers0