During the adaptation process, when separating the packages into the appropriate framework target ItemGroups, it may be necessary to also add the following into the first, framework-agnostic ItemGroup:
<PackageReference Include="System.Data.SqlClient" Version="4.9.0" />
where Version is replaced with the appropriate version available from NuGet.
Attempting to use the Microsoft.Data.SqlClient package may result in namespace inconsistencies, depending on scenario.
During the adaptation process, when separating the packages into the appropriate framework target
ItemGroups, it may be necessary to also add the following into the first, framework-agnosticItemGroup:<PackageReference Include="System.Data.SqlClient" Version="4.9.0" />where
Versionis replaced with the appropriate version available from NuGet.Attempting to use the
Microsoft.Data.SqlClientpackage may result in namespace inconsistencies, depending on scenario.