Skip to content

Out-of-band System.Data.SqlClient depends on inbox native shims #29369

Closed
dotnet/corefx
#38377

Description

@jkotas

SqlClient out-of-band netstandard packages depend on .NET Core native shims:

https://github.com/dotnet/corefx/blob/master/src/System.Data.SqlClient/src/System.Data.SqlClient.csproj#L481-L483

The native shims are not compatible between .NET Core versions, e.g. ImportPrincipalName got changed to ImportTargetName in dotnet/corefx#35383.

This leads to failures when the netstandard SqlClient package is used on a different version of .NET Core than what it was build on, e.g. dotnet/corert#7353

Activity

  1. AfsanehR-zz commented on Apr 30, 2019

    @AfsanehR-zz
    Contributor

    Thanks @jkotas . I will take a look at this.

  2. self-assigned this
    on Jun 6, 2019
  3. davidsh commented on Jun 6, 2019

    @davidsh
    Contributor

    I am working on a PR to revert some of those changes in .NET Core 3.0 branch (master). This will allow SqlClient OOB to work on either .NET Core 2.x or .NET Core 3.x runtimes.

  4. transferred this issue fromdotnet/corefxon Feb 1, 2020
  5. added this to the 3.0 milestone on Feb 1, 2020
  6. ghost locked as resolved and limited conversation to collaborators on Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions