In .Net Core, Use Two Different Versions of a NuGet Simultaneously

484 Views Asked by At

Here is my solution layout:

.Net Core Web API Service Solution  
  |  
  +-- Project A  
  |     | Nuget Package Dependencies
  |     +-- Jil v2.15.4
  |
  +-- Project B
        | Nuget Package Dependencies
        +-- Jil v2.17.0

Version 2.16.0 of Jil had a breaking change introduced. So when my Project A tries to just use version 2.17.0 it has a run time error.

In .Net Core, is it possible to use two different versions of a NuGet package in one application? If so, how?

0

There are 0 best solutions below