Say I create a new library, that wraps a rest service using RestSharp.
I create a nuspec and publish to a nuget feed, and the dependency lists as...:
...
<d:Dependencies>RestSharp:105.2.3</d:Dependencies>
...
Now I go and reference this package in a project, that already has a reference to RestSharp.
An update to RestSharp comes out, it is now version 1.6.1, and I update my project (but not the nuget package, which still lists 105.2.3 as a dependency).
It compiles and all is good.
However, when I try to run my library from the updated code, I get this error...:
System.IO.FileLoadException: Could not load file or assembly 'RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
How can I make it clear in my nuget package, that I just want a MINIMUM of 105.2.3 - but any newer version would also be OK?