IBM has created two separate NuGet packages for the DB2 core(for windows and Linux), leading to an architectural issue. This issue has arisen because my hosting environment is on Linux, while my debugging environment is on Windows. The two different libraries from IBM are causing a lack of references for my application.
My app's architecture appears as shown below. How can I make it compatible with both platforms?
App - Data Access Layer(nuget) - DB2 library - DAL 2(nuget) - DB2 library - DAL 3(nuget) - DB2 library