Skip to content

Replace DB2 dll with Net.IBM.Data.Db2 nuget package #2124

Description

@jzabroski

Is your feature request related to a problem? Please describe.
As it turns out, IBM has supported an official nuget package since 2020 - but it doesn't appear near the top of nuget search results for "db2". If you go to https://community.ibm.com/community/user/blogs/vishwa-hs1/2020/07/12/db2-net-packages-download-and-configure, you will see that they have support, which means our lib\DB2 folder can go away!

Describe the solution you'd like

  1. Delete lib\DB2 folder
  2. Support https://www.nuget.org/packages/Net.IBM.Data.Db2/9.0.0.300

Additional context

  1. This is a breaking change.
  2. This will resolve the C# compiler warning MSB3270:
    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "IBM.Data.DB2", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

Is this a feature you'd like to submit a PR for?
Yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature (we all like those)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions