Skip to content

Commit

Permalink
Reference SNI from SqlClient (#169)
Browse files Browse the repository at this point in the history
* Reference SNI from SqlClient

* Fix SNI condition
  • Loading branch information
ericstj authored Nov 12, 2024
1 parent 3673c54 commit 1230019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/System.Data.SqlClient/src/System.Data.SqlClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,10 @@
<Compile Include="System.Data.SqlClient.TypeForwards.cs" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<PackageReference Include="runtime.native.System.Data.SqlClient.sni" />
</ItemGroup>

<Target Name="CheckTFMs" BeforeTargets="CoreCompile" Condition="'$(NetMinimum)' == 'net8.0'">
<Error Text="NetMinimum got updated to net8.0. Remove the NetCurrent TFMs from this project and the test projects." />
</Target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,4 @@
</ProjectReference>
</ItemGroup>

<ItemGroup>
<PackageReference Include="runtime.native.System.Data.SqlClient.sni" />
</ItemGroup>

</Project>

0 comments on commit 1230019

Please sign in to comment.