Skip to content

Remove dependency on .NET Core internal shims #303

@stephentoub

Description

@stephentoub

It looks like Microsoft.Data.SqlClient has a dependency on the .NET Core internal native shims on Unix. This needs to be removed.
https://github.com/dotnet/SqlClient/tree/master/src/Microsoft.Data.SqlClient/netcore/src/Common/src/Interop/Unix

It was a mistake for System.Data.SqlClient to take such a dependency, which is only valid for components in the .NET Core shared framework, not for NuGet packages that sit on top. These native libraries are private surface area that's subject to change from release to release, and any such change could easily break Microsoft.Data.SqlClient.

Assuming Microsoft.Data.SqlClient requires such functionality, it needs to ship its own native shims that it can version with its nuget package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions