My app called A depends on nuget library B, and nuget library C version 1.1.1 using PackageReference in the csproj.
<PackageReference Include="B" Version="1.0.0" />
<PackageReference Include="C" Version="1.1.1" />
However, Library B depends on Library C >= 1.1.2.
<PackageReference Include="C" Version="1.1.2" />
I cannot change my app to run on C version 1.1.2 and I know B will work fine with C version 1.1.1.
How do I force my app A to run using C version 1.1.1? Specifically I need to remove compiler error CS1705. Previously in full framework I would have used binding redirects but I understand these are not available in dotnet core.
A
- B
- C (v = 1.1.1)
B
- C (v >= 1.1.2)