Skip to content

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

@jkotas

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions