I'm creating an SDK and utilize Newtonsoft.Json. I want to allow any version of 11 and any version of 12, so I set my package ref like this:
<PackageReference Include="Newtonsoft.Json" Version="[11,13)" />
However, when I attempt to install my SDK into another existing solution, installation fails with the following error:
NU1603: MySampleSdk 0.0.1 depends on Newtonsoft.Json (>= 11.0.0 && < 13.0.0) but Newtonsoft.Json 11.0.0 was not found. An approximate best match of Newtonsoft.Json 11.0.1 was resolved.
Isn't 11.0.1
within >= 11.0.0 && < 13.0.0
?
What am I missing here?